From: Jason S on
Is there a way to select programmatically black&white printing to PDF
for a figure?

http://www.mathworks.com/access/helpdesk/help/techdoc/ref/print.html
http://www.mathworks.com/access/helpdesk/help/techdoc/creating_plots/f3-84337.html#f3-99776

The 2nd link shows the interactive way of selecting black&white vs.
color. But there doesn't seem to be a programmatic equivalent (except
for CMYK).
From: Oliver Woodford on
Jason S wrote:
> Is there a way to select programmatically black&white printing to PDF
> for a figure?
>
> http://www.mathworks.com/access/helpdesk/help/techdoc/ref/print.html
> http://www.mathworks.com/access/helpdesk/help/techdoc/creating_plots/f3-84337.html#f3-99776
>
> The 2nd link shows the interactive way of selecting black&white vs.
> color. But there doesn't seem to be a programmatic equivalent (except
> for CMYK).

Export_fig allows you to programmatically export to pdf in grayscale:
http://www.mathworks.com/matlabcentral/fileexchange/23629-exportfig