Arthur Goldsipe suggested me, there's no easy way to pause the simulation between time steps, but I can do something similar by causing the simulation to end after a specified number of time steps. I wanted know if we can stop the simulation after certain number of time step, are we able to vary the input based on time?

댓글 수: 3

per isakson
per isakson 2015년 5월 20일
편집: per isakson 2015년 5월 20일
I replaced the title to make a bit more informative.
Can you clarify your question? What "input" do you want to vary? And based on what time? Better still, can you post a concrete example? You could even add some sample code and/or a SimBiology project. (You can attach files to questions.)
Oh, it's not clear from the current problem statement, but I believe this user is talking about pausing simulations of SimBiology models (for example, pausing while executing the sbiosimulate function). You can get a bit more context from the following post:

댓글을 달려면 로그인하십시오.

 채택된 답변

quicklearner
quicklearner 2015년 5월 21일

0 개 추천

Hi ,
If you have defined your motion coordinates for the animation in a for loop, include the pause command inside the loop so that after every motion step there is a pause. The amount you want to pause can be specified by entering the number of seconds within brackets. For example : pause(0.3) pauses the animation for 0.3 seconds.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Scan Parameter Ranges에 대해 자세히 알아보기

제품

태그

아직 태그를 입력하지 않았습니다.

질문:

2015년 5월 20일

댓글:

2015년 5월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by