Error will using mlreportgen.ppt with application compiler
조회 수: 3 (최근 30일)
이전 댓글 표시
Hello,
I have a problem when i using the application compiler, my app generates a presentation using a personal template.
When i try my app in app designer i don't have any problem but when i compile and try the standalone app its doesn't work, i have put the console to see what problem i have and i have this error code:
Error using mlreportgen.ppt.Presentation/add
Cannot open file. createInputStream failed: Template_rapport.pptx
I have used makePPTCompilable()
I have had my template presentation to the necessary files
This is my code :
%Ecriture donnes rapport
makePPTCompilable();
import mlreportgen.ppt.*;
slides = Presentation("rapport.pptx","Template_rapport.pptx");
%Couverture diapo
slide = add(slides,'Couverture');
%here i update the main slide
%Parametres de l'ouvrant
slide2 = add(slides,'p_porte');
%here i add another slide with my app parameters
close(slides);
Thanks for your help !
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Generate Reports에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!