I cannot get any images in the published document.

3 次查看(过去 30 天)
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 个评论
Walter Roberson
Walter Roberson 2018-8-20
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.
Vedant Kashyap
Vedant Kashyap 2018-8-21
编辑:Vedant Kashyap 2018-8-21
Yeah, it exists and I don't have such programs which modify the temp folder.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 File Operations 的更多信息

标签

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by