Opening a .mat file

1 次查看(过去 30 天)
Bradley Cory
Bradley Cory 2018-6-29
评论: Stephen23 2018-6-29
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!

回答(1 个)

Paridhi Yadav
Paridhi Yadav 2018-6-29
load name_of_file.mat
  2 个评论
Bradley Cory
Bradley Cory 2018-6-29
So I did this, but the 3 saved things are in that opened workspace and I cant boxplot that?
Stephen23
Stephen23 2018-6-29
Better:
S = load(...)
then you can get the names of all of the contents:
fieldnames(S)

请先登录,再进行评论。

产品


版本

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by