Hey, I am making some plots in a loop and I want to save the different plots in different files.(adsbygoogle = window.adsbygoogle || []).push({});

I am new to Matlab so I don't know what to do, I tried the command

print('-dpdf','plot n = %s'n)

,but that was an 'Unexpected MATLAB expression.'

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Matlab, saving the plot.

**Physics Forums | Science Articles, Homework Help, Discussion**