Matlab freezes when using the "print" command for exporting figures or code as pdf

18 vues (au cours des 30 derniers jours)
Bruce
Bruce le 27 Sep 2024
Commenté : Bruce le 6 Jan 2025
Hi, Matlab always freezes when I use the "print" command to export figures or code to PDF. Whether I want to export a Matlab code or a Simulink model or figure, it always freezes as soon as I click "print". I read about previous threads on this topic, but all of them were about 10 years old and the problem should be fixed by an update. I am using Matlab R2024a and Windows 11 Enterprise. Any idea how to fix this?
  2 commentaires
Jaimin
Jaimin le 27 Sep 2024
Could you please share the MATLAB script or Simulink model file where you're encountering the issue? It would be very helpful for reproducing the issue.
Bruce
Bruce le 27 Sep 2024
Déplacé(e) : Stephen23 le 2 Jan 2025
I am sending some sample files as an attachment. The Matlab code contains the variables for the Simulink model. However, this seems to be a general problem as it occurs with any code or model. When I try to print the Simulink model, only the Simulink window freezes. Matlab remains active but stops responding to commands. With the figure, the behavior is the same. When I try to print the Matlab code, the Matlab window freezes except the command window. In all cases, I have to close Matlab via the Windows Task Manager. I waited about 5 minutes for a response before closing.

Connectez-vous pour commenter.

Réponses (1)

Karan Singh
Karan Singh le 6 Jan 2025
  1 commentaire
Bruce
Bruce le 6 Jan 2025
Hi Karan, thanks for the links, but it turned out the issue wasn't limited to MATLAB, it occurred with other applications as well. Also, it only occurred when I was abroad for a conference, so I assume it was somehow related to some weird network settings in Windows 11. Since it was working again when I got back home, I didn't spend more time troubleshooting.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by