In order to connect to an existing MATLAB session, you will need to convert an existing MATLAB session into an Automation server.
To enable the Automation server in the current MATLAB session:
enableservice('AutomationServer',true)
Type the following command at MATLAB command prompt for more information on this function.
After enabling the Automation server, you can run the application from PowerPoint in that session.
Best Answer