Error using open (line 143) failed to open matlab editor

Whenever I open any matlab file that I previously created using MATLAB2021, this message appears! "Error using open (line 143) failed to open matlab editor" and it doesn't open what do I do?

댓글 수: 5

Windows? or Linux?
Windows
Check your Windows Defender settings to ensure that MATLAB is not blocked from opening TCP connections to the same machine. Some key functionality such as Simulink and the help browser and the symbolic mathematics engine are implemented by starting additional processes on the same machine and communicating with them using TCP or UDP.
How do I check?

댓글을 달려면 로그인하십시오.

답변 (2개)

Image Analyst
Image Analyst 2023년 1월 1일

0 개 추천

What was the file extension? .m? .fig? .mlapp? How exactly did you try to open it? Double clicking on it in the Current Folder panel? Typing something on the command line?
Could be an installation issue. Have you tried reinstalling? If so, then see the FAQ:

댓글 수: 1

.m, and yes I either double click it from folder panel or drag it to matlab or even open it from matlab itself and then the message appears!

댓글을 달려면 로그인하십시오.

Image Analyst
Image Analyst 2023년 1월 1일

0 개 추천

OK, will you answer the other question about if you tried reinstalling?
And does this happen for all .m files, or just one particular one?
If you reinstalled and it's still broken then call the Mathworks tomorrow for installation help.

댓글 수: 3

For all files
Image Analyst
Image Analyst 2023년 1월 1일
편집: Image Analyst 2023년 1월 1일
OK, AGAIN (third time), will you answer the other question about if you tried reinstalling?
Is this Windows? If so, use the Windows "Steps Recorder" (type it in the task bar search box) to make a screen capture of your steps, then attach the zip file here.
Do I have to reinstall?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

태그

질문:

2023년 1월 1일

댓글:

2023년 1월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by