Parameters of a level-2 s function
Mostrar comentarios más antiguos
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
Respuestas (2)
Kaustubha Govind
el 12 de Nov. de 2012
1 voto
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 comentarios
Owen
el 14 de Nov. de 2012
Owen
el 15 de Nov. de 2012
Kaustubha Govind
el 15 de Nov. de 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
el 18 de Nov. de 2012
0 votos
3 comentarios
Kaustubha Govind
el 19 de Nov. de 2012
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
el 20 de Nov. de 2012
Kaustubha Govind
el 26 de Nov. de 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.
Categorías
Más información sobre Block and Blockset Authoring en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!