Saving a .mat file from python

4 vues (au cours des 30 derniers jours)
CHINTALA NIRMAL SRINIVAS
CHINTALA NIRMAL SRINIVAS le 11 Mai 2020
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?

Réponse acceptée

Harsha Priya Daggubati
Harsha Priya Daggubati le 14 Mai 2020
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!

Plus de réponses (0)

Catégories

En savoir plus sur Call Python from MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by