How can i use the variable in the workspace in a different script

7 ビュー (過去 30 日間)
Luca Beretta
Luca Beretta 2021 年 11 月 30 日
回答済み: Image Analyst 2021 年 11 月 30 日
How can i use some variables generated by AN other script in the workspace, in a new different script

回答 (1 件)

Image Analyst
Image Analyst 2021 年 11 月 30 日
If they're in the base workspace, the other script should be able to see and use it. Not if it's inside a function though. For that you should pass the values into the function, rather than use assignin().

カテゴリ

Help Center および File ExchangeANOVA についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by