Clear Filters
Clear Filters

how to open mat file that contains DOT

4 views (last 30 days)
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.

Accepted Answer

Jonathan Sullivan
Jonathan Sullivan on 16 Nov 2012
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.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!