Modell Callbacks (e.g. PreLoadFcn, InitFcn) not performed in Matlab 2016b
6 次查看(过去 30 天)
显示 更早的评论
Hello, in Matlab 2016b my model callbacks are not performed correctly any longer. Code that worked properly in a former Matlab version, for example "disp('test')" or "clear all", is not carried out when beeing called in the InitFcn in Matlab 2016.
Thank you very much! BR Robin
0 个评论
回答(1 个)
Kushagr Gupta
2017-6-9
The commands mentioned should definitely work in R2016b in all kinds of callbacks as and when those callbacks are executed.
As they are not in your case , I recommend to create a Technical Support Case as this would take some additional debugging to figure out where the issue is.
另请参阅
类别
在 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!