report generator can't handle blanks in path name

1 visualizzazione (ultimi 30 giorni)
Timo Dietz
Timo Dietz il 28 Gen 2020
Commentato: Timo Dietz il 28 Gen 2020
in order to use the report generator of Matlab I created the needed template sheet with a relative path to an
image which shall be loaded.
All works fine as long as the image's full path does not contain a blank. Thus, after moving everything to a new
location (the relative path stays the same) the image can't be found because of blanks inside the full path:
ERROR: Image not found. URI: file:///D:/NewLocation/Path%20With%20Blanks/relPath/imagefile.png
The blanks are replaced by '%20' and the full path makes no sense, anymore.
Any suggestions?
Many thanks,
  2 Commenti
Timo Dietz
Timo Dietz il 28 Gen 2020
Thanks for your comment.
Unfortunately I can't replace the blanks by %20 in the template file because I do not know the final full path.
This is why in the template a the relative path is stated - which is sufficient. The Matlab report generator creates the full path internally and seems to be unable to deal with the blanks.

Accedi per commentare.

Risposte (0)


Scopri di più su MATLAB Report Generator in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by