subsystem parameter and MATLAB Function

Hi I have created a substystem in SIMULINK including a MATLAB-Function-Block. I would like to use the mask parameters in this MATLAB-Function. Is it possible and how? Thanks in advanced.

 採用された回答

Sebastian Castro
Sebastian Castro 2015 年 5 月 5 日

0 投票

Yes, it is possible.
You can go to the Model Explorer (Ctrl+H on Windows), select the MATLAB Function block, and add a new Parameter data with the same name as the mask parameter. You may have to turn on the masked block display to see your block.
Maybe this screenshot helps.
- Sebastian

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSubsystems についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by