Use mask's input into mask intialization

1 次查看(过去 30 天)
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?

采纳的回答

Andy Bartlett
Andy Bartlett 2022-2-8
编辑:Andy Bartlett 2022-2-8
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Author Block Masks 的更多信息

标签

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by