Rank: 1563 based on 81 downloads (last 30 days) and 3 files submitted
photo

George Thiers

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by George Thiers View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
25 Jan 2008 MATLAB read/write/control Excel What XLSREAD and XLSWRITE do under the hood Author: George Thiers external interface, xlsread xlswrite micr... 27 3
  • 4.25
4.2 | 4 ratings
25 Jan 2008 MATLAB controls and writes PowerPoint MATLAB as a COM client, Microsoft PowerPoint (or any Office 2003 application) as a COM server Author: George Thiers external interface, matlab publish powerp... 46 6
  • 4.5
4.5 | 4 ratings
24 Jan 2008 From Fortran, call MATLAB Compiler C shared library Mixed Language Example: From Fortran, call MATLAB Compiler C shared library Author: George Thiers external interface, fortran compiler c sh... 8 1
Comments and Ratings on George Thiers' Files View all
Updated File Comment by Comments Rating
01 Dec 2014 MATLAB controls and writes PowerPoint MATLAB as a COM client, Microsoft PowerPoint (or any Office 2003 application) as a COM server Author: George Thiers dashen

03 Mar 2014 MATLAB controls and writes PowerPoint MATLAB as a COM client, Microsoft PowerPoint (or any Office 2003 application) as a COM server Author: George Thiers Jason

Excellent intro and well commented.

Some helpful tips I uncovered for more recent versions of PowerPoint:

Replace the add-slides section:
%% ADD SLIDES
% View the methods that can be invoked
Presentation.Slides.invoke
blankSlide = Presentation.SlideMaster.CustomLayouts.Item(7)
% Add two slides via "Add" method
Slide1 = Presentation.Slides.AddSlide(1,blankSlide)
Slide2 = Presentation.Slides.AddSlide(2,blankSlide)

>Modified from 2007 example at:
>http://www.mathworks.com/matlabcentral/answers/99150

I would also Find/Replace "'C:\..." with "[cd,'" and then close out the arrays at the replacement locations in this script.
This tweak should allow the code to run as-is in any location for example purposes.

Add this to the last line to open your presentation once the script finishes:
winopen('ExamplePresentation.ppt')

05 Mar 2013 From Fortran, call MATLAB Compiler C shared library Mixed Language Example: From Fortran, call MATLAB Compiler C shared library Author: George Thiers Jing Qian

I am trying to compile your fortran code with Intel Visual Fortran (shelled with MS visual studio 2010). But I got the following error:
error LNK2019: unresolved external symbol _mclInitializeApplication referenced in function MAIN__ fortran_useDeployedMATLAB.obj

error LNK2019: unresolved external symbol _libMatlabGoodnessInitialize referenced in function MAIN__ fortran_useDeployedMATLAB.obj

error LNK2019: unresolved external symbol _mxCreateDoubleMatrix_700 referenced in function MAIN__ fortran_useDeployedMATLAB.obj
.....

I guess I missed some library to include. Do you have any idea on it?
Thanks in advance!

12 Mar 2012 MATLAB controls and writes PowerPoint MATLAB as a COM client, Microsoft PowerPoint (or any Office 2003 application) as a COM server Author: George Thiers Scott

Found a work around to ppt.Visible=0 not working.

op=invoke(ppt.Presentations,'Add',0)

12 Mar 2012 MATLAB controls and writes PowerPoint MATLAB as a COM client, Microsoft PowerPoint (or any Office 2003 application) as a COM server Author: George Thiers Scott

As of PPT 2010, you can no longer hide the application (ppt.Visible=0). You can only minimize it (ppt.WindowState = 2). However, you can still open a presentation hidden using
op = invoke(ppt.Presentations,'Open',filespec,[],[],0);

Contact us