Where can I find the callback function PreLoadFunc in Simulink?

6 vues (au cours des 30 derniers jours)
Da
Da le 14 Juil 2017
Commenté : Da le 16 Juil 2017
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) ...

Réponses (1)

Sebastian Castro
Sebastian Castro le 14 Juil 2017
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 commentaires
Sebastian Castro
Sebastian Castro le 15 Juil 2017
This is not in the block properties; it is in the model properties, under File > Model Properties > Model Properties.
Da
Da le 16 Juil 2017
That´s it.
Thank you very much!

Connectez-vous pour commenter.

Catégories

En savoir plus sur Model, Block, and Port Callbacks dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by