Matlab Appdesigner Saving Data to Text File
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
% 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 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Text Files en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!