unexpected error message showing std::exception

8 次查看(过去 30 天)
Caught "std::exception" Exception message is: Message Catalog MATLAB:FileIO was not loaded from the file. Please check file location, format or contents
I've got this message in R2014a. I don't know why this error happens. My script has been working well under R2012a. After this error occurs, any commands didn't work at all.
  3 个评论
Image Analyst
Image Analyst 2014-5-1
Please post the error message. Don't snip out just a part of it like you did. Post everything. ALL the red text including lines of code with line numbers etc.
The rest of the commands won't be executed after the error because control moves to your catch block. You did use a try/catch construction, didn't you?
kyu
kyu 2014-5-2
This is the entire error message. No red texts! This is quite unusual because when the error occurs, MATLAB always shows red text. This error occurs when I tried to generate 1,000 images stacks. 500 images stack was fine, though.

请先登录,再进行评论。

回答(1 个)

Friedrich
Friedrich 2014-5-2
Hi,
can you check if the FileIO.xml in the resources\MATLAB\en subfolder of your MATLAB installation exist? If the file is missing then your MATLAB installation is incomplete and you would need to reinstall it.
  2 个评论
Friedrich
Friedrich 2014-5-5
Moved kyu answer to a comment
"The FileIO.xml is in the subfolder."
Friedrich
Friedrich 2014-5-5
It could be that MATLAB tries to pull the wrong FileIO.xml file. Can you post a list of all your environment variables? On Windows you could also run the process monitor to see what MATLAB tries to access.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by