My Matlab Editor cannot show any contents about .m file, and all editor windows is black.

69 vues (au cours des 30 derniers jours)
Without any error information, and this error is very strange.
  7 commentaires
Jan
Jan le 18 Déc 2022
Modifié(e) : Jan le 18 Déc 2022
@Junhao Ding: I love it. This is the most weird Matlab error I've ever seen.
Do you work with Admin privileges? Without this it should be impossible to destroy the installation such tremendously.
I'd re-install Matlab.
Star Strider
Star Strider le 18 Déc 2022
@Junhao Ding — Before you do any re-installation, I stil suggest contacting technical support at the link I provided in my earlier Comment.
The reason is that this is an error that MathWorks probably needs to know about so they can understand what went wrong and how to fix it. This may be a strange bug that needs to be reported for that reason.

Connectez-vous pour commenter.

Réponses (1)

Harshit Gupta
Harshit Gupta le 21 Déc 2022
As per my understanding, your MATLAB Editor window was appearing black.
This can happen due to several different reasons:
  1. This issue can be caused by restricted privilege and access to the MATLAB process. The issue can be resolved by granting appropriate permissions to the MATLAB session. If your organization is using tools like PowerBroker, then the issue can be resolved by changing the policies inside PowerBroker.
  2. If you are trying to connect to MATLAB via a Remote Desktop application. If that is the case, then check if the same issue can be seen while opening the doc and AppDesigner. This can be done using the following commands in the MATLAB Command Window:
>> doc
>> appdesigner
If so, try starting MATLAB using the "-cefdisablegpu" flag from the Windows Command Prompt:
matlab -cefdisablegpu
This should resolve the issue.
But since you have already recreated the MATLAB preferences, I recommend you re-install MATLAB as already suggested by @Jan. You can refer to the following documentation link for information on how to uninstall MATLAB: https://www.mathworks.com/help/install/ug/uninstall-mathworks-products.html
If the issue still persists, feel free to contact our Technical Support team for further assistance.
Hope this helps!

Catégories

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

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by