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.

 Respuesta aceptada

Sebastian Castro
Sebastian Castro el 5 de Mayo de 2015

0 votos

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

Más respuestas (0)

Categorías

Productos

Preguntada:

el 5 de Mayo de 2015

Comentada:

el 18 de Mayo de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by