필터 지우기
필터 지우기

I have lost access to the editor when using matlab, can you help me find it again?

조회 수: 76 (최근 30일)
Graham Giese
Graham Giese 2022년 4월 19일
답변: Simar 2023년 9월 29일
I have been using matlab for many years and have always found the editor in "HOME" by clicking on "Open", but today, for the first time, even though the "Open" page opens and I can choose the m-file to open, nothing happens when I do so. In short, I can not open my m-file to edit it!
  댓글 수: 1
Rik
Rik 2022년 4월 19일
Perhaps you could have a look at the layout options to see if one of the presets has a docked editor. It sounds like a windows issue.

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

답변 (1개)

Simar
Simar 2023년 9월 29일
Hi @ Graham Giese
It is my understanding that you are facing difficulty in opening “*.m files” in the MATLAB desktop editor. Here are a few workarounds to resolve the issue:
  1. Restarting MATLAB, sometimes restarting MATLAB can resolve minor issues. Close MATLAB completely and then relaunch it to see if the problem persists.
  2. One could also set layout to default by going to Environment > Layout > Default to bring back the editor.
  3. Check the file path: Make sure that the “*.m file you are trying to open is in a directory that MATLAB has access to. You can try moving the file to a different location and then attempt to open it again.
  4. Use the "Open" command: Instead of using the "Open" page, try using the "Open" command directly from the MATLAB command window. Type open('filename.m') and press Enter. Replace 'filename.m' with the actual name of your m-file.
  5. Check for file corruption: It's possible that the m-file you are trying to open is corrupted. Try opening a different m-file to see if it opens correctly. If other files open without issues, then it might be a problem with the specific file you are trying to open.
  6. Reinstall MATLAB: If none of the above steps work, you can consider reinstalling MATLAB. Uninstall MATLAB from your system and then download and install the latest version from the MathWorks website.
  7. If the problem persists after trying these steps, it might be best to reach out to MathWorks support for further assistance.
Best Regards,
Simar

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by