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