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.

 采纳的回答

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 Exchange 中查找有关 Subsystems 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by