If I give my stop Time ,some constant value,,its tasking,,but its not taking variable for stop time through MATLAB Script
How to run simulink model from gui written in script?
조회 수: 3 (최근 30일)
이전 댓글 표시
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
채택된 답변
추가 답변 (1개)
Muruganandham Subramanian
2012년 12월 7일
편집: Muruganandham Subramanian
2012년 12월 7일
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...
참고 항목
카테고리
Help Center 및 File Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!