Use mask's input into mask intialization

2 ビュー (過去 30 日間)
Ahmed raafat
Ahmed raafat 2022 年 2 月 6 日
編集済み: Andy Bartlett 2022 年 2 月 8 日
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 Center および File ExchangeAuthor Block Masks についてさらに検索

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by