Clear Filters
Clear Filters

Saving a .mat file from python

22 views (last 30 days)
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?

Accepted Answer

Harsha Priya Daggubati
Harsha Priya Daggubati on 14 May 2020
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!

More Answers (0)

Community Treasure Hunt

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

Start Hunting!