why does my simulation slow down after a while ?
Show older comments
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
Answers (1)
Image Analyst
on 25 Mar 2013
0 votes
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.
Categories
Find more on Applications in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!