Saving a .mat file from python

19 次查看(过去 30 天)
I want to run a matlab script from python. I am able to run it from python. In matlab file, I used regionprops() to get the bounding boxes. I want to save that file or workspace which contains those coordinates from python.
How can I do that? Can somebody help me please?

采纳的回答

Harsha Priya Daggubati
Hi,
I guess you can pass the data returned from regionprops from MATLAB to Python using matlab engine.
Refer to the following link which aims to handle data from MATLAB workspace in Python:
Hope this gives you a head start to map to your problem!

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Call Python from MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by