Matlab Appdesigner Saving Data to Text File
3 views (last 30 days)
Show older comments
% 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 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!