whosnh5
List variables in an valid .nh5 file with sizes and types.
📝Syntax
whosnh5(filename)
st = whosnh5(filename)
whosnh5(filename, var1, ..., varN)
st = whosnh5(filename, var1, ..., varN)
📥Input Arguments
Parameter Description
filename a string: .nh5 filename.
var1, ..., varN string: Names of variables to inspect.
📤Output Arguments
Parameter Description
st stores information about the variables in the structure array st.
📄Description

whosnh5 lists variables in an valid .nh5 file.

💡Examples
A = ones(3, 4);
B = 'Nelson';
C = sparse(true);
D = sparse(3i);		
savenh5([tempdir(), 'example_whosnh5.nh5'], 'A', 'B', 'C', 'D')
whosnh5([tempdir(), 'example_whosnh5.nh5'])
st = whosnh5([tempdir(), 'example_whosnh5.nh5'])
🔗See Also
whosmatwhos
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub