loading data before displaying it? is it possible?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi I am making a simulation of a rocket heading towards a target with things like wind resistance included and when running it the display slows down and keeps slowing down even more until finished.
my question is.... Is it possible to load several lines of code before executing them that way no display lag will ensue?
댓글 수: 0
채택된 답변
Walter Roberson
2012년 1월 4일
Often when there is a progressive slowdown in displaying, it is because there is a "hold on" in effect that is leading to accumulation of graphics objects.
It is not possible to eliminate display lag in MATLAB.
Display lag can be reduced by re-using graphic objects (updating their properties using set()) instead of replacing them with new objects.
Display lag can be reduced by setting an object (e.g., axis) visibility to 'off', making changes to the object, and then setting the object visible again.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!