Parameters of a level-2 s function
6 views (last 30 days)
Show older comments
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 Comments
Answers (2)
Kaustubha Govind
on 12 Nov 2012
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 Comments
Kaustubha Govind
on 15 Nov 2012
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
on 18 Nov 2012
3 Comments
Kaustubha Govind
on 26 Nov 2012
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.
See Also
Categories
Find more on Author Block Masks in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!