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.

 Risposta accettata

Sebastian Castro
Sebastian Castro il 5 Mag 2015
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

Più risposte (0)

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by