Simscape Mechanics Explorer really slow

Good morning,
I've been working with Simscape Multibody for my Master thesis for one month with no particular issue.
Yesterday after having experienced an unexpected "Invalid Object id error", solved by simply restarting MATLAB I found out that the Mechanics Explorer became much slower, after compilation it takes many seconds for rendering, simulation is laggy and interface for changing view and speed is not responsive.
My work involves flexible objects manipulation so I thought it was due to the computation required (even if I haven't experienced this problem before), but in fact the same problem arises for simulations with simpler examples even contained in add-ons.
I tried to uninstall and reinstall Simscape Multibody toolbox but the situation was the same.
Any answer would be of great help,
Thanks

1 Commento

EDIT: the "Invalid Object id error" has never appeared again after the first time

Accedi per commentare.

 Risposta accettata

alberto remus
alberto remus il 14 Mar 2019
Seems that this link allows to solve the problem:
In Windows/Linux prompt
matlab -softwareopengl
In MATLAB prompt
opengl hardwarebasic
I will add details on the causes of the problem, if I discover more

1 Commento

I had the same issues and could fix it with your suggestion. Thank you.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Simscape Multibody in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by