Execute code in Simulink prior to StartFcn?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
When the user clicks play on a Simulink model, I need to execute some code immediately. The StartFcn seems to do some compiling etc. prior to running. Can I execute code immediately after play (ie, before compiling, updating model, etc)?
0 Commenti
Risposte (1)
Sebastian Castro
il 20 Apr 2015
Does the InitFcn callback do what you want? InitFcn will run during this model update phase.
- Sebastian
0 Commenti
Vedere anche
Categorie
Scopri di più su Event Functions in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!