saving workin space variable
3 ビュー (過去 30 日間)
古いコメントを表示
I executed my file which consists 20 variables (stored in the workspace after execution). I want to save 1 variable called myvar.mat to save into my working directory.
So I used
>>save('myvar.mat')
but it stored all the 20 variables with name myvar.mat.
To save single variable what I have to do?
0 件のコメント
採用された回答
per isakson
2011 年 11 月 10 日
Doc says:
save(filename, variables)
try
save('myfile.mat', 'myvar' )
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Data Import and Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!