Defining the port names of the Smilunk block within the S function
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello,
Is it possible to define the port names in the S-function(R2013a). Is there a function available to do that.
댓글 수: 0
채택된 답변
Titus Edelhofer
2013년 8월 8일
Hi,
no there isn't. But it is best practice to mask the S-function block anyway (for passing the parameters). In the mask you can name the ports of course as you like.
Titus
댓글 수: 5
Kaustubha Govind
2013년 8월 14일
If the labels are coming from another C-function, would you be open to creating a MEX-function wrapper to it, and calling the MEX-function from a Mask that you can create on top of the S-function block.
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Naming Conventions에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!