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)
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 :
I use 'pwd' that is a nonsense for an 'external' app, but I don't know how to orient my path to the ctfroot.
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).