why does my simulation slow down after a while ?

im using simmechanics to model a robot , the simulation slows down after about 70 seconds, i'm visualizing the model, i think its cumulative data, probably the visual simulation is the problem , any idea how to clear unwanted variables while simulating the model ? and thank you

답변 (1개)

Image Analyst
Image Analyst 2013년 3월 25일

0 개 추천

How are you preforming the visualization? If you keep adding new images to an axes, without calling cla in between, then it will slow down because all those images get stored in the axes. Subsequent images do not replace the image in there.

댓글 수: 1

bader
bader 2013년 3월 25일
visualization is done using simmechanics visualization feature, i don't add images, i only provide .stl files or it uses default ellipsoids, if i don't use the visualization feature the simulation is very fast.

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

카테고리

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

질문:

2013년 3월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by