Hi
I recently upgraded from MATLAB 2017b to 2019b. And now I can't get the saveas function to work. When using the example from the documentation, see below, I get the error that you see in the Question title. Hope you can help me!
x = [2 4 7 2 4 5 2 5 1 4];
bar(x);
saveas(gcf,'Barchart.png')
Best Answer