Consider the following example:
%
plot(rand(10,1))
print -dmeta
%
Word = actxserver('Word.Application');
Word.Visible = true;
%
doc = Word.Documents.Add;
%
Word.Selection.Paste
%
doc.InlineShapes.Item(1).PictureFormat.CropBottom = 100;
%
doc.SaveAs2( fullfile(pwd,'file.docx') )
doc.Close(false)
%
Word.Quit
Word.delete

source
share