Info

This question is closed. Reopen it to edit or answer.

alternative to "mask" to initialize parameters?

1 view (last 30 days)
Owen
Owen on 1 Dec 2012
Closed: MATLAB Answer Bot on 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

Answers (1)

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

Tags

Products

Community Treasure Hunt

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

Start Hunting!