How to get the base workspace varibles in a function
古いコメントを表示
Hey guys, the 'who' method only return the function argument. How to return the base workspace? Thank you so much`~~
採用された回答
その他の回答 (1 件)
Sean de Wolski
2011 年 12 月 13 日
[x y] = foo(r,s,t,u,v)
Calling from a script of the command line will pass base variables r,s,t,u,v into foo and return x,y to the base. Is this what you want? Note, foo has to be set up to take in various input arguments and return others.
カテゴリ
ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!