How to call Python Script in Matlab
Show older comments
Hi,
I want to call python script into Matlab for further processing. I watched couple of threads mentioned at https://stackoverflow.com/questions/1707780/call-python-function-from-matlab but always gets an error when do this in command prompt
>> py.ReadIFSLog
Unable to resolve the name py.ReadIFSLog
I have MATLAB 2020a. What am I doing wrong?
Accepted Answer
More Answers (1)
Rifshu Hussain Shaik
on 15 Feb 2022
0 votes
try this in matlab to open python script
system('python filename.py');
Categories
Find more on Call Python from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!