How to use "run command" within a function which saves all variables inside base workspace?
Show older comments
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?
Accepted Answer
More Answers (0)
Categories
Find more on Whos in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!