This is a bit of code to give an idea
a = actxserver('PowerPoint.Application');
a.Visible = 1;
Presentations = a.Presentations;
Presentation = invoke(Presentations,'Open','.....')
n_slide = invoke(Presentation.Slides,'Add',1,11);
With this I can get the names of shapes in MATLAB
Now I what to pass these names as arguments to VBA in PowerPoint to a subroutine so that by macro creation I can group it in VBA itself.
The problem I'm facing is how would I pass these names to VBA, i.e. argument types.