Where can I find the callback function PreLoadFunc in Simulink?
6 次查看(过去 30 天)
显示 更早的评论
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) ...
0 个评论
回答(1 个)
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
2017-7-15
This is not in the block properties; it is in the model properties, under File > Model Properties > Model Properties.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Model, Block, and Port Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!