My Matlab Editor cannot show any contents about .m file, and all editor windows is black.
94 次查看(过去 30 天)
显示 更早的评论
Without any error information, and this error is very strange.
7 个评论
Jan
2022-12-18
编辑:Jan
2022-12-18
@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
2022-12-18
@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.
回答(1 个)
Harshit Gupta
2022-12-21
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:
>> 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!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!