how to access workspace variablle in loop?

回答 (2 件)

ES
ES 2014 年 1 月 22 日

0 投票

If it is an m script, you can use the workspace variable directly by calling its name.
if it is an m function, then prior to calling the function, save the variables in a matfile and load it in your function.
By the way, who generates the variables in the workspace?

カテゴリ

ヘルプ センター および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

質問済み:

2014 年 1 月 22 日

回答済み:

2014 年 1 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by