Where can I find the callback function PreLoadFunc in Simulink?

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) ...

Answers (1)

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 Comments

Thank you for your answer!
But as you can see in the image, the PreLoadFcn is missing in the callback list.
The function is missing in every block in the current model and also in every new created model.
This is not in the block properties; it is in the model properties, under File > Model Properties > Model Properties.
That´s it.
Thank you very much!

Sign in to comment.

Products

Asked:

Da
on 14 Jul 2017

Commented:

Da
on 16 Jul 2017

Community Treasure Hunt

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

Start Hunting!