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?
0 个评论
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Author Block Masks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!