Info
此问题已关闭。 请重新打开它进行编辑或回答。
help with mat file
1 次查看(过去 30 天)
显示 更早的评论
When I load a mat file by giving its full path like this
load ('E:\Mathematical modellling\assignment1\april6\spectral_3.mat');
whos -file 'E:\Mathematical modellling\assignment1\april6\spectral_3.mat'
I find that the type is double
but when I try to open it like
y=load ('spectral_3.mat');
whos -file 'spectral_3.mat'
then i find that the type is struct How can i fix it
Actually I want to send the mat file with the assignment.
2 个评论
Walter Roberson
2018-4-9
In particular y will be a struct with one field for each variable stored in the file.
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!