MATLAB: Contents of a variable file in matlab

commands

I have stored the variables in .mat file. Now I would like to see the variable names inside the .mat file. How can I do that?
Thanks in advance.

Best Answer

who -file FILENAME
or
whos -file FILENAME
if you want more information.