how to open mat file that contains DOT

2 vues (au cours des 30 derniers jours)
Aravin
Aravin le 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.

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Workspace Variables and MAT Files dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by