필터 지우기
필터 지우기

Telling MATLAB to wait

조회 수: 109 (최근 30일)
Zach
Zach 2011년 5월 12일
댓글: Ghenam Dahmane 2022년 11월 4일
I'm doing a project and when I run my code, instead of MATLAB plotting the results after every time-step, it's only plotting the end result. I tried using the wait and timeout function but was unsuccessful. If anyone could help me put a 0.5 sec delay so MATLAB has the chance to plot that would be great!

채택된 답변

Matt Fig
Matt Fig 2011년 5월 12일
Do you call PLOT after every time-step? After every time-step, call PLOT then cal DRAWNOW. You can also call PAUSE with a time-to-pause argument, but I doubt this is what you really want to do with your code.
  댓글 수: 1
Zach
Zach 2011년 5월 12일
thank you!

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

추가 답변 (1개)

Sean de Wolski
Sean de Wolski 2011년 5월 12일
  댓글 수: 14
Matt Tearle
Matt Tearle 2011년 5월 13일
Thanks, Jiro. I think you've just made a business case for me needing a new computer... :)
Ghenam Dahmane
Ghenam Dahmane 2022년 11월 4일
thanks so match

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

카테고리

Help CenterFile Exchange에서 Graphics Performance에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by