How to save all results at some point in the script and run next time based on those results?

1 view (last 30 days)
I mean I don't need to change the first half of my code. Every time running the script I only change some lines in the last part. How can I save time to run the program?

Answers (1)

Star Strider
Star Strider on 29 Jun 2018
I would use the save (link) function to store the selected data, then use the related load (link) function to restore them to your workspace when you need them.

Categories

Find more on File Operations 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!