Use mask's input into mask intialization
조회 수: 3 (최근 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!