Matlab Appdesigner Saving Data to Text File
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
% Button pushed function: SaveButton
function SaveButtonPushed(app, event)
app.t.Thrust(1) = str2num(app.SaveButton);
fileid = fopen ('C:\**\**\**\**\***\**\****.txt')
Error using str2num (line 35)
Input must be a character vector or string scalar.
The above is the code giving me the problem.
I am just trying to save one number from my data to a text file and I got the above error.
Is there an alternate command to proceed with this step?
3 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Text Files dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!