Borrar filtros
Borrar filtros

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

76 visualizaciones (últimos 30 días)
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 comentario
Rik
Rik el 19 de Abr. de 2022
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.

Iniciar sesión para comentar.

Respuestas (1)

Simar
Simar el 29 de Sept. de 2023
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

Categorías

Más información sobre MATLAB Compiler en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by