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

1 次查看(过去 30 天)
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?

回答(1 个)

Star Strider
Star Strider 2018-6-29
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.

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by