pass a function in a .m file as a parameter to StartFcn callback property.
Ältere Kommentare anzeigen
I have a .m file in which there are number of functions. Now out of those functions i want one particular function to execute automatically when the simulation starts. For that to happen i found out that StartFcn property has to be used. But i do not know how to pass that particular function to StartFcn property.
Kindly help.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Model, Block, and Port Callbacks finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!