How to run phyton code using Matlab?
Show older comments
Dear All,
I have phyton code as attached.
Anyone know how to run it using matlab?
Or any way to convert into matlab coding?
Thank you.
Accepted Answer
More Answers (1)
Venkat Siddarth Reddy
on 10 Sep 2024
Edited: Venkat Siddarth Reddy
on 10 Sep 2024
0 votes
Hi Akmal,
You can use the "pyrunfile" MATLAB function to execute the python script in MATLAB.
For more information on "pyrunfile" function, please refer to the following documentation:
I hope it helps!
Regards
Venkat Siddarth
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!