how to open mat file that contains DOT

2 Ansichten (letzte 30 Tage)
Aravin
Aravin am 16 Nov. 2012
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.

Akzeptierte Antwort

Jonathan Sullivan
Jonathan Sullivan am 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.

Weitere Antworten (0)

Kategorien

Mehr zu Workspace Variables and MAT Files finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by