Undefined function or method 'matfile'
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Salman Gul
am 1 Jun. 2016
Kommentiert: Ben
am 21 Jan. 2018
save thesis.mat;
save('thesis.mat','tr_temp','tr_temp_sorted','total_cost_temp','total_cost_temp_sorted','parent_temp','parent_temp_sorted','-v7.3');
clear('tr_temp','tr_temp_sorted','total_cost_temp','total_cost_temp_sorted','parent_temp','parent_temp_sorted');
i have created a mat file(v7.3) 'thesis.mat' with several large variables. The mat file even appears in my directory and has the saved variables with the required values. However,
m=matfile('thesis.mat');
gives the error,
Undefined function or method 'matfile' for input arguments of type 'char'.
what am i doing wrong??? im using R2009a
0 Kommentare
Akzeptierte Antwort
Steven Lord
am 1 Jun. 2016
As indicated on the documentation page online (which is for the most recent release) the matfile function was introduced in release R2011b. Your release is older than this so it does not have this function.
2 Kommentare
Weitere Antworten (0)
Siehe auch
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!