How to check the variable in modelworkspace

There is a variable in model's workspace, and I want to check if the variable already declared exists, the result return to a variable in workspace. I try the method evalin from modelworkspace, however this method will return a value in model's workspace and the result can't be used to assign to a variable in base workspace.

回答 (0 件)

この質問は閉じられています。

タグ

質問済み:

2018 年 1 月 14 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!