How do I convert a Python dictionary to a MATLAB type?
Show older comments
I have a Python dictionary in MATLAB which I would like to convert to a MATLAB type, but I am having trouble with the method used in this document page:
- https://www.mathworks.com/help/releases/R2020a/matlab/matlab_external/use-python-dict-type-in-matlab.html
I believe the problem is converting to a MATLAB "struct." The data in my dictionary does not conform to struct naming conventions listed here:
- https://www.mathworks.com/help/releases/R2020a/matlab/ref/struct.html#d120e1193691
Accepted Answer
More Answers (0)
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!