MATLAB Mechanic explorer loading slow compare to simulink simulation.
15 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I am runinng a simple robot simulation on my desktop, while the simulink section runs fast, the mechanic explorer take a long time to catchup, ie 10+min. I have tried running the model on a different device and it ran fine. The device I am currently using have more ram, better GPU and CPU. Here is a list of a few things i have tried:
- I deleted all version of matlab and install the latest version
- I have move my foler to the same hard drive as matlab
- download matlab on my boot dirve
- i have tried running "matlab -softwareopengl" on my cmd and "opengl hardwarebasic" on matlab
- looking up the issue on chatgpt
2 Kommentare
Yifeng Tang
am 21 Sep. 2024
Is it possible to share your model for the community to reproduce and investigage your problem?
Antworten (1)
Abhas
am 6 Dez. 2024
The issue likely lies in rendering or software configuration, not hardware. MATLAB's Mechanics Explorer relies on OpenGL, and the problem may stem from drivers, rendering settings, or MATLAB preferences. Here's how to address it:
- Ensure OpenGL is Optimally Configured: Run these commands in MATLAB:
opengl hardware
opengl info
%Verify GPU acceleration is enabled. If not, the GPU driver or configuration may be the issue.
- Update GPU Drivers: Download the latest drivers from the GPU manufacturer (NVIDIA, AMD, Intel). Install and restart the system.
- Lower Graphics Fidelity: Reduce rendering load by setting Mechanics Explorer to low graphics mode:
mech_explorer = simevents.ExplorationSettings();
mech_explorer.GraphicsRenderingMode = 'low';
You may refer to the below documentation link that might help you resolve your issue:
0 Kommentare
Siehe auch
Kategorien
Mehr zu Simscape Multibody finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!