I am trying to migrate a program I created in Python to MATLAB. This application uses win32COM to write/read to/from Excel and PowerPoint and I assumed the ActiveX commands would be very similar/identical because it is based on VBA. If someone could shed light on this and help with the following error I would appreciate it!!
So I have a Python code which works
PPT_App = win32com.client.Dispatch("PowerPoint.Application")
Presentation = PPT_App.Presentations.Add()
Cover_Slide = Presentation.Slides.Add(1,12)
However when I convert that to MATLAB;
PPT_App = actxserver('PowerPoint.Application');
Presentation = PPT_App.Presentations.Add();
Cover_Slide = Presentation.Slides.Add(1,12);
it gives me this error on line 3 defining 'Cover_Slide';
Undefined function 'Add' for input arguments of type 'Interface.91493469_5A91_11CF_8700_00AA0060263B'.
Anyone have an idea why this is happening or where I could find info on ActiveX differences?