Use mask's input into mask intialization

1 visualización (últimos 30 días)
Ahmed raafat
Ahmed raafat el 6 de Feb. de 2022
Editada: Andy Bartlett el 8 de Feb. de 2022
Hello , I have create a mask , it has input (6) called Pnom , I want to call this input into mask Initialization , what I have to do?

Respuesta aceptada

Andy Bartlett
Andy Bartlett el 8 de Feb. de 2022
Editada: Andy Bartlett el 8 de Feb. de 2022
It is not possible to feed a signal into a mask initialization code. Only parameters feed into mask initialization code.
Signals should be feed into the block via input ports. The block's output and update methods can the read the signal values on those input ports and perform operations using those values.

Más respuestas (0)

Categorías

Más información sobre Author Block Masks en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by