How to run and save variables in a structures?
1 view (last 30 days)
I would like to run a matlab code using:
run('filename.m'); % it contains numerous variables in it.
I would like to save all these variables into a structure when I run it.
Can anyone please help me how to do this?