save instruction
Show older comments
Hi, This is an elementary question related to Matlab Programming. I am using a loop in main body of program and this loop execute 50 times for "x" variable. I would like to save values of "x" in a mat file after each execution. If I am using save ("filename", x) within the loop it saves only last value of the variable "x". Please let me know, can I save each value of "x" in a file (like a vector). Do you think I need to make a data set. Thank you, Neeta
Accepted Answer
More Answers (0)
Categories
Find more on Loops and Conditional Statements 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!