Info
此问题已关闭。 请重新打开它进行编辑或回答。
could anyone tell me how to save the values while the code is getting executed
1 次查看(过去 30 天)
显示 更早的评论
could anyone tell me how to save the values while the code is getting executed
0 个评论
回答(2 个)
Aakash Deep
2018-6-1
Use save command to save the current value of the variable.
save filename variable1
This will create .mat file (for this, filename.mat) in your current working directory. If you want to store multiple variables in a single file, you can do it by adding variable name in the same command.
save filename var1 var2 var_n
It is good when the value of the variable is changing.
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!