How to save ".txt" to ".mat"?
古いコメントを表示
Dear All,
I have a file ".txt" and I want to save it to ".mat". I used this code and got this error.Please see below.
data=dlmread('RO-2013-equinox.txt');
>> save ('RO-2013-equinox.mat',data);
Error using save
Must be a string scalar or character vector.
I would appriciate to help me.
2 件のコメント
Stephen23
2022 年 8 月 25 日
save('RO-2013-equinox.mat','data')
% ^ ^ this needs to be the name of a variable
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Software Development についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!