Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

alternative to "mask" to initialize parameters?

1 visualización (últimos 30 días)
Owen
Owen el 1 de Dic. de 2012
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
Hi,
by now I always use "mask" in Simulink to initialize parameters, but it needs a double click to open the input parameter window. Are there any other ways to create such fields directly on the Simulink model (without opening the window)?
Thanks Senmeis

Respuestas (1)

Ryan G
Ryan G el 4 de Dic. de 2012
There are a number of model callback functions you can utilize to initialize parameters. These allows you to initialize at different stages of the simulation process, from pre-opening to post-closing.
  2 comentarios
Owen
Owen el 6 de Dic. de 2012
Thank you Ryan. I tried postloadfcn but it is not what I expect.
For example, if you open an Excel file, you can input something directly without any double clicks, but if you have a mask in a Simulink model you must double click to open it and then you can input something.
I want the status like Excel, something like a panel integrated into the Simulink model. But thank you anywan.
Senmeis
Ryan G
Ryan G el 6 de Dic. de 2012
If you post a pic of some sort better describing what you want I may be able to help further.

La pregunta está cerrada.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by