cannot save or save as in Macbook
Afficher commentaires plus anciens
MATLAB Online opens normally and runs code, but Save and Save As do nothing when clicked. No error message appears. MATLAB Drive is accessible. The issue persists across browser refreshes.
1 commentaire
Torsten
le 22 Oct 2026 à 9:05
If the below suggestions don't work, contact support:
Answer from AI:
When the "Save" and "Save As" buttons in MATLAB Online fail to respond without showing an error, it is typically caused by a corrupted session state or a browser extension blocking the interface scripts.
Since a standard refresh didn't work, here are the steps to resolve the issue, ordered by effectiveness:
1. Clear MATLAB Online Session Data (Most Likely Fix)
A corrupted cloud session file can freeze the save dialogs. You can manually force MATLAB to generate a clean session by deleting the temporary session folder:
- Go directly to MATLAB Drive.
- Click your profile picture/name in the top right corner and check "Show Hidden Files".
- Locate the folder named .session and open it.
- Delete everything inside this .session folder. (Note: This will not affect your actual .m or .mlx code files, only temporary layout/state data).
- Return to MATLAB Online and refresh the page.
2. Test in an Incognito Window
Browser extensions (especially ad-blockers, script-blockers, or privacy shields) can accidentally block the JavaScript triggers used for save dialogs.
- Open an Incognito / Private browsing window.
- Log into MATLAB Online and try saving.
- If this works, you will need to whitelist mathworks.com in your browser's extension settings (e.g., uBlock Origin, Privacy Badger).
3. Clear Browser Cache or Switch Browsers
A corrupted local browser cache can also cause UI elements to break.
- Perform a hard refresh (Ctrl + F5 on Windows, or Cmd + Shift + R on Mac).
- Alternatively, test if the buttons work in a different browser altogether (e.g., switching from Chrome to Firefox or Edge).
4. Emergency Workaround (Save Your Current Work)
If you currently have open unsaved code that you don't want to lose before refreshing or changing browsers:
- Manual Backup: Select all text in your editor (Ctrl + A or Cmd + A), copy it, and paste it into a local text application (like Notepad, VS Code, or TextEdit) on your computer.
- Command Line Save: If you are trying to save workspace variables, you can bypass the UI by running this directly in the MATLAB Command Window:
matlab
save('my_workspace_backup.mat')
Réponses (0)
Catégories
En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!