One way to check if a structure is empty in Matlab is to use the isempty
function.
main.m94 chars6 lines
Another way to check if a structure is empty is to use the fieldnames function and check if there are any fields in the structure.
main.m106 chars6 lines
gistlibby LogSnag