How can I save variables that is used inside a function? Can I somehow use SAVE command that save the local variables of a function without specifying their name? Something like SAVE ALL.
To save all the variables that are inside the function to the file MyFunVariables.mat in the current directory do this
The code must be inside the function!