My Matlab Editor cannot show any contents about .m file, and all editor windows is black.
33 views (last 30 days)
Show older comments
Junhao Ding on 18 Dec 2022
Answered: Harshit Gupta on 21 Dec 2022
Without any error information, and this error is very strange.
Star Strider on 18 Dec 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.
Harshit Gupta on 21 Dec 2022
Hi @Junhao Ding,
As per my understanding, your MATLAB Editor window was appearing black.
This can happen due to several different reasons:
- 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.
- 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:
If so, try starting MATLAB using the "-cefdisablegpu" flag from the Windows Command Prompt:
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!
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!