how to open mat file that contains DOT

1 次查看(过去 30 天)
During my program, I saved matfile with following name
experiment_1.1_test.mat
but when I try to load I receive following error. Number of columns on line 1 of ASCII file
/home/aravin/matlab_code/experiment_1.1_test.mat
must be the same as previous lines.
and when I save same file without DOT
ex: experiment_1_1_test.mat
it works fine.
Actually, now experiment_1.1_test.mat contains processing of 5 days, so i want that to be opened. Any solution.

采纳的回答

Jonathan Sullivan
Jonathan Sullivan 2012-11-16
Have you tried:
load('experiment_1.1_test.mat','-mat')
That will force MATLAB to treat it as a .mat file instead of an ascii file.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Workspace Variables and MAT Files 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by