Parameters of a level-2 s function
조회 수: 6 (최근 30일)
이전 댓글 표시
Hi,
In the Level-2 S function block there is a parameter called "Parameters". Can this name be changed to others, say, "Speed"?
Thanks Senmeis
댓글 수: 0
답변 (2개)
Kaustubha Govind
2012년 11월 12일
To create your own parameter prompts, you need to Mask the S-function block and simply enter the names of the dialog parameter variables on the underlying "Parameters" field of the S-function.
댓글 수: 3
Kaustubha Govind
2012년 11월 15일
Have you entered "var1" (without quotes) in the underlying Parameters field of the actual S-function dialog? You need to right-click on your block and select Mask>Look Under Mask to see the original S-function dialog.
Owen
2012년 11월 18일
댓글 수: 3
Kaustubha Govind
2012년 11월 26일
Owen: Right-click on the masked block and select Mask>Look Under Mask. That should open the underlying S-functions dialog, which should have a field called "Parameters" - enter var1 there.
참고 항목
카테고리
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!