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