matlabunixmatlab-loadmat-file

Open .mat file in matlab or unix - new user


I am going through someone's data analysis files (created in an older version of matlab) and trying to find out what a particular .mat file is that was used in a matlab script.

I am trying to load a .mat file in matlab. I want to see what is in it.

When I type...

load ('file.mat')

the file loads and I see two variables appear in the workspace. jobhelp and jobs.

When I try to open jobs by typing the following in the matlab command window...

jobs

the response is..

jobs =

[1x1 struct]

Does this mean that there is only a 1 x 1 structure in the .mat file? If so, how in the world do I see what it is? I'm even happy to load it in unix, but I don't know how to do that either. Any help would be greatly appreciated as I have a few files like this that I can't get any information from.

Again, a new user, so please make it simple.

Thanks


Solution

  • It means that jobs is a cell array {} and within this cell array is a structure defined

    To see the structure and its contents type jobs{1}