Info

此问题已关闭。 请重新打开它进行编辑或回答。

alternative to "mask" to initialize parameters?

1 次查看(过去 30 天)
Owen
Owen 2012-12-1
关闭: MATLAB Answer Bot 2021-8-20
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

回答(1 个)

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

此问题已关闭。

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by