Sending input when calling Matlab script from python
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Call MATLAB from Python finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!