This enhancement has been incorporated in Release 2012a (R2012a). For previous product releases, read below for any possible workarounds:
This is due to a limitation in MATLAB 7.12 (R2011a) in the way that long .NET statements are interpreted.
In order to work around this issue, split your longer statements into shorter ones. For example:
tr = newslide.Shapes.Title.TextFrame.TextRange;
tr.Text='.NET Powerpoint Demo';
Best Answer