it is possible to access the 'base' workspace from a subfonction ?
显示 更早的评论
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 ;)
采纳的回答
更多回答(1 个)
khaled DAWOUD
2012-7-17
0 个投票
you can use assignin function to reference to variable in the workspace in your function.
类别
在 帮助中心 和 File Exchange 中查找有关 Workspace Variables and MAT Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!