save variables in matlab workspace
21 ビュー (過去 30 日間)
古いコメントを表示
satendra kumar
2012 年 11 月 12 日
コメント済み: Shiv Nileshkumar Matliwala
2022 年 12 月 15 日
I have a function which calls a script. There are some variables in script. I want to save them to my command window. How can i do that. Any help fellas.
0 件のコメント
採用された回答
Azzi Abdelmalek
2012 年 11 月 12 日
編集済み: Azzi Abdelmalek
2012 年 11 月 12 日
value=15;
assignin('base','var',value)
% 'var' is your variable name
2 件のコメント
Shiv Nileshkumar Matliwala
2022 年 12 月 15 日
Is there any way to load the variable directly to base workspace ? becuase Its not possible to do this
assignin('base','var')
I want to do like above.
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Debugging and Analysis についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!