Closed
Description
In demo_jsonlab_basic.m, lines 133-141, the demo creates a 3 element structure array, exports it to json, and then imports it back to a MATLAB variable (json2data). However, it does not work as intended. json2data is a cell array with three structures instead of a three-element structure array. It is easily transformed by:
json2data = cell2mat(json2data);
_assuming _ the structures all have the same fields. Unfortunately, I do not have the time to chase down the root cause of the issue, but I thought you should know.
Thanks for a very handy utility!
-Nathaniel
Metadata
Assignees
Labels
No labels