Découvrez les nouveaux services mydSPACE : Gestion des licences, la nouvelle aide dSPACE et le chatbot dSPACE dédié à la documentation utilisateur. Vous trouverez davantage d'informations et d'aide sur notre page d'assistance dédiée. Lien En savoir plus et obtenir de l'aide

FAQ 787: How to fix MATLAB freezing at startup after Integrating with dSPACE

Question

How can I fix MATLAB freezing at startup after integrating with dSPACE?

Solution

In some cases, MATLAB may freeze or hang during startup after integration with dSPACE products. This behavior is typically caused by a low-level graphics issue related to the graphics driver and MATLAB's OpenGL rendering.

To work around this issue, configure MATLAB to use software-based OpenGL rendering by following the steps below. This procedure has resolved the problem in several cases involving graphics driver incompatibilities.

Please try the following steps: 

Step 1: Test MATLAB with Software OpenGL 
  1. Start MATLAB from a Command Prompt using:
matlab.exe -softwareopengl
  1. Alternatively, for troubleshooting purposes, you can try:
matlab.exe -noopengl

If MATLAB starts successfully, the issue is likely related to the graphics driver or OpenGL configuration.

 

Step 2: Save the Workaround Permanently 
  1. Close all dSPACE applications and MATLAB. 
  2. Open dSPACE Installation Manager and disconnect MATLAB from all integrated dSPACE products (for example, RCP and HIL Software, TargetLink, etc.).
  3. Close dSPACE Installation Manager.
     
  4. Start MATLAB. 
  5. After MATLAB has started successfully, enter the following command in the MATLAB Command Window:
opengl('save','software')
  1. Close MATLAB.
     
  2. Reopen dSPACE Installation Manager and re-establish the integration between MATLAB and the required dSPACE products (for example, RCP and HIL Software, TargetLink, etc.). 
  3. Close dSPACE Installation Manager.
  4. Start MATLAB again and verify whether the issue has been resolved. 

 

Recommended Long-Term Solution

Software OpenGL is mainly a workaround. If possible, update the graphics driver (Intel, NVIDIA, or AMD) to the latest version approved by the hardware vendor. In some cases, reverting to a previously stable driver version may also resolve the issue.

 

Additional Information 

MathWorks: Resolving Low-Level Graphics Issues

https://www.mathworks.com/help/releases/R2024b/matlab/creating_plots/resolving-low-level-graphics-issues.html

 

Tags

Date 2026-11-02
Type d’information Foire Aux Questions (FAQ)

Restez informé grâce à notre service de newsletter dSPACE direct.

Grâce à notre service de newsletter dSPACE, nous vous tiendrons informé des cas d'utilisation actuels, des nouvelles solutions et des nouveaux produits, ainsi que des formations et des événements. Inscrivez-vous ici pour un abonnement gratuit.

Enable form call

At this point, an input form from Click Dimensions is integrated. This enables us to process your newsletter subscription. The form is currently hidden due to your privacy settings for our website.

External input form

By activating the input form, you consent to personal data being transmitted to Click Dimensions within the EU, in the USA, Canada or Australia. More on this in our privacy policy.