How to import variable into a MATLAB function in Simulink without explicitly defining them?

I have variable predefined in workspace and my custom MATLAB block needs to
access them. I guess I could pass the variable explicitly, but that is just so ugly.
Any idea how to do this?

その他の回答 (0 件)

カテゴリ

製品

質問済み:

2013 年 12 月 28 日

回答済み:

2013 年 12 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by