This is the only one that worked for me. I was exporting very small 24X24p images to assemble into a montage.
> Use the following command
> set(gca,'LooseInset',get(gca,'TightInset'));
> Use the following command
> set(gca,'LooseInset',get(gca,'TightInset'));