i can't save my plot as a png
22 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Adam Jurhs
el 25 de Mayo de 2022
Comentada: Adam Jurhs
el 25 de Mayo de 2022
hi guys,
i've made a plot (errorbar plot to be precise) and i get it looking exactly as i want, but when i give MatLab the command
saveas(gcf,'ErrorPlot.png')
i get the following errors:
Error using matlab.graphics.internal.name (line 112)
Cannot create output file './ErrorPlot.png'.
Error in print (line 71)
pj = matlab.graphics.internal.name( pj );
Error in saveas (line 181)
print( h, name, ['-d' dev{i}])
can someone please help me?
0 comentarios
Respuesta aceptada
Walter Roberson
el 25 de Mayo de 2022
You are cd to a directory that you do not have write access to. In particular you might be cd to the matlab installation directory.
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!