How can I save a variable from the workspace to use it for another script?
32 views (last 30 days)
DGM on 2 Oct 2021
You can save variables to a .mat file and then load the .mat file in the other script.
In practice, it's a good idea to load into a struct and explicitly define the incoming variable: