Parameters of a level-2 s function
显示 更早的评论
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
回答(2 个)
Kaustubha Govind
2012-11-12
1 个投票
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 个评论
Owen
2012-11-14
Owen
2012-11-15
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
0 个投票
3 个评论
Kaustubha Govind
2012-11-19
When you say workspace, do you mean the Mask Workspace? Also, you did not answer whether you have added var1 to the S-functions Parameters field.
Owen
2012-11-20
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Block and Blockset Authoring 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!