Borrar filtros
Borrar filtros

MATLAB Compiler failed to access specific file

1 visualización (últimos 30 días)
Anne-Laure GUINET
Anne-Laure GUINET el 20 de Mzo. de 2020
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

Respuestas (0)

Categorías

Más información sobre Application Deployment en Help Center y File Exchange.

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by