MATLAB Compiler failed to access specific file
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi everybody,
I have created an app that loads 2 files (csv and xlsx files) and creates a Word report combining some informations from these files.
Everything is ok even in Matlab and deployed app (via MATLAB Compiler)
BUT
I would like to add a picture (.png) in my Word report. It works when I run it in Matlab but there is a path error when I launch the app deployed with MATLAB Compiler.
I know it's a path error because I use this to copy/paste my picture :
selection.InlineShapes.AddPicture([pwd '/picture.png'],0,1);
I use 'pwd' that is a nonsense for an 'external' app, but I don't know how to orient my path to the ctfroot.
Thanks,
PS. I know that the toolbox Report Generator is the best way to make a report but I can't use it (it's not free).
AL
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre MATLAB Compiler en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!