Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

alternative to "mask" to initialize parameters?

1 Ansicht (letzte 30 Tage)
Owen
Owen am 1 Dez. 2012
Geschlossen: MATLAB Answer Bot am 20 Aug. 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

Antworten (1)

Ryan G
Ryan G am 4 Dez. 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 Kommentare
Owen
Owen am 6 Dez. 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 am 6 Dez. 2012
If you post a pic of some sort better describing what you want I may be able to help further.

Diese Frage ist geschlossen.

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by