change dpi from auto to 300 using matlab code?
12 views (last 30 days)
Rik on 22 Jun 2018
This code should work. I recognize the -k switch from a similar context, but the doc indicates that you should use -r. (I use sprintf so you can mistakenly enter a decimal res, Matlab will round it anyway during the writing of the image)
res = 300;