Run a script and use some variables as inputs in another script
7 ビュー (過去 30 日間)
古いコメントを表示
Nikolas Spiliopoulos
2017 年 12 月 5 日
回答済み: Walter Roberson
2017 年 12 月 5 日
Hi all,
I have a script file and I would like to run it and export two variables (lets say "45"and "1")
In order to use them as inputs for another script file.
Is it possible to do it?
Thanks
Nikolas
0 件のコメント
採用された回答
Walter Roberson
2017 年 12 月 5 日
Script files do not have inputs: functions have inputs.
Script files use whatever variables are hanging around in the workspace, so just have the second script use the variable names that you assigned to in the first script.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および 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!