Why do I get the error "Check that write permissions are available" using the command writetable?
38 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Diego Rago
am 31 Jan. 2021
Kommentiert: Ismaeel
am 14 Jan. 2022
Hi everyone!
Running the command writetable I got some issue:
writetable(Z,'Model.xlsx','Sheet',1)
Matlab says that some error occurs:
Error
Unable to save the workbook to file 'D:\Documents\MATLAB\Project\Model.xlsx'.
Check that write permissions are available, there is sufficient disk space, and the file can be written to or created.
Have you ever had the same problem? I'm a beginner with Matlab.
0 Kommentare
Akzeptierte Antwort
Cris LaPierre
am 31 Jan. 2021
Bearbeitet: Cris LaPierre
am 31 Jan. 2021
The error suggests that MATLAB does not have write permission to the specified location.
4 Kommentare
Cris LaPierre
am 14 Jan. 2022
Outside of MATLAB, can you copy a file, say from your desktop, and paste it to the same location you are wanting to write your table to?
Ismaeel
am 14 Jan. 2022
I was trying to save my table inside a GUI that was built by App Designer using the 'writetable' function to (C:\Program Files\New Folder) and it did not work. I changed to C:\New_Folder (with no space) and it worked just fine.
Thanks
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Environment and Settings finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!