필터 지우기
필터 지우기

How to get Simulation Status correctly?

조회 수: 27 (최근 30일)
metehan akinci
metehan akinci 2020년 10월 20일
답변: Fangjun Jiang 2020년 10월 20일
Hello,
I was trying to get Simulation Status after i compile the model using ; get_param('myModel', 'SimulationStatus') yet even though my model is compiled(see that on the left bottom of the simulink), get_param('myModel', 'SimulationStatus') is return as 'paused'.
Is there any suggestions that you can give me?
Best Regards

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2020년 10월 20일
Use set_param('vdp','SimulationCommand','continue') to change the simulation status, other options are 'start', 'pause','stop'.

카테고리

Help CenterFile Exchange에서 General Applications에 대해 자세히 알아보기

제품


릴리스

R2017b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by