How to use "run command" within a function which saves all variables inside base workspace?
Ältere Kommentare anzeigen
function example()
%%%%
---
run('sample.m');
---
end
Is there any way, which can help to save all variable of "sample.m" script in base workspace rather than current function workspace?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Startup and Shutdown 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!