I am having problems calling a Python function in Matlab. The question has already been answered on this website, Call python function from MATLAB, But solutions are not usable for me.
The topics presented above are several ways to use Python scripts in Matlab there. But I need to find a way to have multiple output arguments from a Python script I get in MATLAB.
this way :
system('python pythonfile.py argument')
system('python test.py 2')
and
>> r=python('sqd.py','3.5')
r =
12.25
>> r=python('sqd.py','5')
r =
25.0
>>
The above methods Not Able to two or more arguments of the data returned into Matlab! I want to get a few arguments in MATLAB. I am looking for a simple way similar to the above or easy way!
What's the solution for this?
Sorry for my poor English.I'm German.