Load a structure in a mat file
211 views (last 30 days)
I have a mat file who contain a structure a, the structure a contains other structures, i need to load a structure b in the structure a without loading all the structure a.
load ('filemat') ---> a, a is the result of loaing the matfile
i need to load a.b in the workspace without loading all the structure a,
Thank you for your return.
Kaashyap Pappu on 25 Nov 2019
A similar issue has been addressed here. The issue and limitation are documented and elaborated upon, and a workaround is also provided.
Alternatively, you can try to load the structure into work space and clear the other structures using the following syntax:
%Extract required structure
reqStruct = a.b;
% Clear the overall structure of structures
Hope this helps!