I cannot get any images in the published document.
3 views (last 30 days)
Show older comments
The console displays the following error:
[ERROR] FOUserAgent - Image not found. URI: C:/Users/VEDANT KASHYAP/AppData/Local/Temp/Q4_01.bmp. (See position -1:-1)
[ERROR] FOUserAgent - Image not found. URI: C:/Users/VEDANT KASHYAP/AppData/Local/Temp/Q4_01.bmp. (No context info available)
My code is 100% okay, I've tried and tested it on other systems. Please help me with this.
4 Comments
Walter Roberson
on 20 Aug 2018
Sorry, I do not know; I do not have experience with the publish function.
The file names that it reports like "C:/Users/VEDANT KASHYAP/AppData/Local/Temp/Q4_01.bmp" : do those exist?
Could you check whether C:/Users/VEDANT KASHYAP/AppData/Local/Temp exists at all? MATLAB would have pulled the directory name out of your TMP or TEMP environment variable, but sometimes those environment variables are not always up to date.
Also if you are running a "system tuning" type program, it is possible that it automatically cleaning up the temp directory thinking that the files are not being used. A decent program should not do this kind of cleaning automatically until the file was at least some particular time old, but misconfigurations and bad cleanup programs happen.
Answers (0)
See Also
Categories
Find more on File Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!