Hi! could someone explain me the difference between load and xlsread? also, how can I create a document that could be used with the command "load" in the future. Thanks!

 채택된 답변

CS Researcher
CS Researcher 2016년 5월 4일

0 개 추천

Short Answer:
'load' is to load a .mat file to the workspace whereas 'xlsread' is to read Excel Spreadsheets.

댓글 수: 2

San E
San E 2016년 5월 4일
thanks! and how do I make mat files? sorry for such basic questions
CS Researcher
CS Researcher 2016년 5월 5일
When you save the workspace in MATLAB, it is saved as a .mat file. Once you load that .mat file back, it loads all the variables back to the workspace. You can also save selected variables from the workspace to a .mat file. You can find more here: Save Workspace

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기

태그

질문:

2016년 5월 4일

댓글:

2016년 5월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by