how to open a.mat file in matlab command window
37 次查看(过去 30 天)
显示 更早的评论
how to open a.mat file in command window in matlab
2 个评论
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
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')
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Search Path 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!