Opening a .mat file

What is the best was to open a .mat file in Matlab R2015b, so I can then extract the 3 data set saved in that file and use the boxplot(x); function?
Thank you!

Answers (1)

load name_of_file.mat

2 Comments

So I did this, but the 3 saved things are in that opened workspace and I cant boxplot that?
Better:
S = load(...)
then you can get the names of all of the contents:
fieldnames(S)

Sign in to comment.

Products

Release

R2015b

Asked:

on 29 Jun 2018

Commented:

on 29 Jun 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!