unexpected error message showing std::exception

8 views (last 30 days)
kyu
kyu on 1 May 2014
Commented: Friedrich on 5 May 2014
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 Comments
Image Analyst
Image Analyst on 1 May 2014
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 on 2 May 2014
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.

Sign in to comment.

Answers (1)

Friedrich
Friedrich on 2 May 2014
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 Comments
Friedrich
Friedrich on 5 May 2014
Moved kyu answer to a comment
"The FileIO.xml is in the subfolder."
Friedrich
Friedrich on 5 May 2014
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.

Sign in to comment.

Categories

Find more on Startup and Shutdown 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!