it is possible to access the 'base' workspace from a subfonction ?
Show older comments
I'm would like to access some variables in the 'base' workspace from a subfonction. because when I tried the variables is not found.
thanks in advance ;)
Accepted Answer
More Answers (1)
khaled DAWOUD
on 17 Jul 2012
0 votes
you can use assignin function to reference to variable in the workspace in your function.
Categories
Find more on Workspace Variables and MAT Files 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!