how to open mat file that contains DOT

조회 수: 2 (최근 30일)
Aravin
Aravin 2012년 11월 16일
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