MATLAB Mechanic explorer loading slow compare to simulink simulation.
16 次查看(过去 30 天)
显示 更早的评论
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 个评论
Yifeng Tang
2024-9-21
Is it possible to share your model for the community to reproduce and investigage your problem?
回答(1 个)
Abhas
2024-12-6,5:06
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simscape Multibody 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!