Error will using mlreportgen.ppt with application compiler
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Generate Reports finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!