How to save ".txt" to ".mat"?
Mostra commenti meno recenti
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 Commenti
Stephen23
il 25 Ago 2022
save('RO-2013-equinox.mat','data')
% ^ ^ this needs to be the name of a variable
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Software Development in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!