Undefined function 'Presentation' for input arguments of type 'char' - while converting GUI to .exe

조회 수: 2 (최근 30일)
Hello, I have a code that uses a powerpoint template to create a new presentation using the default Presentation function by importing mlreportgen package in MATLAB. While normally the code executes as a .m file, on compiling it into an application (.exe) (using deploytool) and running the application I get the following error : " Undefined function 'Presentation' for input arguments of type 'char' ". I have added the templates and all the required functions while building the application. Can someone please help

채택된 답변

Paul Kinnucan
Paul Kinnucan 2017년 2월 9일
To be compilable, the first line of your PowerPoint code must be:
makePPTCompilable();
See Compile a Presentation Program in the PowerPoint API documentation for more information.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by