How to work around "Invalid Image path" error in Report Generator?
Show older comments
I'm attempting to use a Figure Snapshot component in a Report Generator, but after all the report content has been generated an the Generator attempts to convert the content to the output format (Word, in this case), I get an "Unexpected conversion error" copied below:
Unexpected conversion error:
Invalid image path.
Path error: Unknown exception
Image path:
C:\Users\<UserName>\AppData\Local\Temp\.\tpa0124d13_9f89_453f_9a06_b98c3b6dc655_docx_files\image-000-hg.eps
However, that file and directory definitely exist - I can navigate to and open them. The only difference I can determine is the additional period in the file path, which typically means 'current directory'. Currently the Snapshot component is generating .eps files, but the same issue occurs with any of the file format options.
I'm using Matlab R2017a, on a Windows 7 system. So far I've tried every setting I can find, including where the files are stored when generated, without any success. The code for the Report Generator is obfuscated, so I'm unable to see if removing the additional period would result in success.
Does anyone have any thoughts?
1 Comment
Rahul Singhal
on 27 Jul 2017
Can you please attach an example of a setup file that illustrates this problem.
Answers (0)
Categories
Find more on Generate Reports in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!