Saving a .mat file from python
    5 views (last 30 days)
  
       Show older comments
    
    CHINTALA NIRMAL SRINIVAS
 on 11 May 2020
  
    
    
    
    
    Answered: Harsha Priya Daggubati
    
 on 14 May 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?
0 Comments
Accepted Answer
  Harsha Priya Daggubati
    
 on 14 May 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!
0 Comments
More Answers (0)
See Also
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!