How to run and save variables in a structures?
Ältere Kommentare anzeigen
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.
something like:
struc.run('filename.m')
Can anyone please help me how to do this?
Akzeptierte Antwort
Weitere Antworten (1)
MP
am 19 Okt. 2022
0 Stimmen
Kategorien
Mehr zu Whos finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!