Saving a .mat file from python

조회 수: 13 (최근 30일)
CHINTALA NIRMAL SRINIVAS
CHINTALA NIRMAL SRINIVAS 2020년 5월 11일
답변: Harsha Priya Daggubati 2020년 5월 14일
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
Harsha Priya Daggubati 2020년 5월 14일
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