I have a large struct in a .mat file. I want to check if a specific field is present in the struct without loading the .mat file. The .mat files are very large and I want to minimize memory use.
Can I do this or must I use the I load it like this? Suppose the .mat file is called "test.mat" with struct s
in it:
load('test.mat')
tf = isfield(s, 'fieldname')