Borrar filtros
Borrar filtros

i canot save my files

5 visualizaciones (últimos 30 días)
venkat
venkat el 17 de Jun. de 2024
Comentada: Cris LaPierre el 19 de Jun. de 2024
  1 comentario
Ganesh
Ganesh el 17 de Jun. de 2024
If you are trying to save a file using the command window, neither save or saveas will help you, as they are used for exporting data out of MATLAB.
When using MATLAB Online, you can use the given commands:
Doc = matlab.desktop.editor.findOpenDocument('untitled'); % Change the name as necessary
Doc.saveAs(['/MATLAB Drive/' 'myDocument.m']);
The more straight forward method remains to simply click the "Save" button on the top left.

Iniciar sesión para comentar.

Respuestas (2)

Shivani
Shivani el 17 de Jun. de 2024
Editada: Shivani el 17 de Jun. de 2024
Hello @venkat,
I was facing a similar issue while using MATLAB R2024a online. Although I was not able to resolve this issue, the following workaround helped me save files:
  • Create a new file using the "edit" command, instead of using the GUI. You can do this by executing the command below:
edit newscript.m
Please back up your file before doing so, as there is a possibility of losing it.
  • Save by directly closing the file. When you close an unsaved file, MATLAB online will display a pop-up window asking if you would like to save the file. Select "yes."
I was able to save files using the above approach. Hope this helps!

Cris LaPierre
Cris LaPierre el 18 de Jun. de 2024
Editada: Cris LaPierre el 18 de Jun. de 2024
A recent change is impacting the toolstrip. A fix has already been released, but if necessary, you can save your changes to an existing file with Ctrl + S (or similar command for your OS) OR close the script and select to save it in the warning dialog that appears.
To create new scripts, use the edit command as suggested about or you cannot by right-clicking the empty space (gray) in the Current Folder panel, selecting New, and selecting Live Script.
  1 comentario
Cris LaPierre
Cris LaPierre el 19 de Jun. de 2024
The issue is fixed for me. Please try again. If you still can't save, try clearing your cache. If you still can't save, please contact support directly: https://www.mathworks.com/support/contact_us.html

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB Report Generator 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