how to open a.mat file in matlab command window

조회 수: 37 (최근 30일)
naval solanki
naval solanki 2017년 6월 25일
댓글: Jan 2017년 6월 25일
how to open a.mat file in command window in matlab
  댓글 수: 2
naval solanki
naval solanki 2017년 6월 25일
load a.mat not working
Jan
Jan 2017년 6월 25일
@naval solanki: Please do not only state "not working", but explain any details. Did you switch on the computer? Is Matlab installed? Which version? With which version has the MAT file been created? Does the selected file exist? Do you get an error message or do the results differ from your expectations? We cannot (or should not) guess the details.

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

답변 (1개)

Star Strider
Star Strider 2017년 6월 25일
‘load a.mat not working’
It probably is. You should see the variables that are in the ‘.mat’ file in your Workspace browser.
It is always best to use load as a function and with an output argument, so you can see the variables in the file, and assign them as necessary.
Example
D = load('a.mat')

카테고리

Help CenterFile Exchange에서 Search Path에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by