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!