Sending input when calling Matlab script from python
1 次查看(过去 30 天)
显示 更早的评论
I have a python code which is linked with Matlab. The python code when it runs uses the output of Matlab code. I want to decide which image to be read in Matlb from python. I want to give that image address as an input in python code so that when Matlb code runs, it takes that input and reads it through imread(). Can somebody please help me how can I do that?
This is the part of my python code which is used to call matlab script.
import matlab.engine
eng = matlab.engine.start_matlab()
xys="C:\\Users\\User\\Desktop\\tkinter_codes\\floorplans\\ROBIN\\Dataset_3roomsmall\\Cat1_1.jpg"
eng.boundingbox_Aroundrooms(nargout=0)
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Call MATLAB from Python 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!