I have lost access to the editor when using matlab, can you help me find it again?
78 ビュー (過去 30 日間)
古いコメントを表示
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
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
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:
- Restarting MATLAB, sometimes restarting MATLAB can resolve minor issues. Close MATLAB completely and then relaunch it to see if the problem persists.
- One could also set layout to default by going to Environment > Layout > Default to bring back the editor.
- 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.
- 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.
- 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.
- Reinstall MATLAB: If none of the above step’s work, you can consider reinstalling MATLAB. Uninstall MATLAB from your system and then download and install the latest version from the MathWorks website.
- If the problem persists after trying these steps, it might be best to reach out to MathWorks support for further assistance.
Best Regards,
Simar
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で MATLAB Compiler についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!