Where can I find the callback function PreLoadFunc in Simulink?

5 ビュー (過去 30 日間)
Da
Da 2017 年 7 月 14 日
コメント済み: Da 2017 年 7 月 16 日
I want to use the callback PreLoadFunc to create a Simulink.Variant in the Workspace before compiling the model.
But I can´t find the PreLoadFunc in callback list. It is stil listed in the Matlab help.
I´m using Matlab/Simulink 8.6 (R2015b) ...

回答 (1 件)

Sebastian Castro
Sebastian Castro 2017 年 7 月 14 日
Go to File > Model Properties > Model Properties, then go to the Callbacks tab.
You should find all the model callbacks including PreLoadFcn in there.
- Sebastian
  3 件のコメント
Sebastian Castro
Sebastian Castro 2017 年 7 月 15 日
This is not in the block properties; it is in the model properties, under File > Model Properties > Model Properties.
Da
Da 2017 年 7 月 16 日
That´s it.
Thank you very much!

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeModel, Block, and Port Callbacks についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by