How to run simulink model from gui written in script?
Mostrar comentarios más antiguos
I am running my simulink models from GUI,where Gui i have developed using MATLAB script,,,,and am controlling my stop time of both models through script ,,but am unable to do this,, Getting error like""""""Error using FinalTest/pushbutton2_Callback (line 115) Invalid StopTime specified in the Configuration Parameters dialog for block diagram 'course_speed_position'
Error while evaluating uicontrol Callback"""""This is my error ,,anybody help me?
4 comentarios
Arun Badigannavar
el 7 de Dic. de 2012
TAB
el 7 de Dic. de 2012
How are you setting StopTime ?
Are you using set_param() ?
Arun Badigannavar
el 7 de Dic. de 2012
Arun Badigannavar
el 7 de Dic. de 2012
Respuesta aceptada
Más respuestas (1)
Muruganandham Subramanian
el 7 de Dic. de 2012
Editada: Muruganandham Subramanian
el 7 de Dic. de 2012
0 votos
Through script, you can do this by before using sim('your model name'); Mention the Tstop=10 or any, then you can change this value for your need...
1 comentario
Arun Badigannavar
el 7 de Dic. de 2012
Categorías
Más información sobre Programmatic Model Editing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!