unexpected error message showing std::exception

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

More details are needed to avoid guessing when answering.
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?
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)

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

Moved kyu answer to a comment
"The FileIO.xml is in the subfolder."
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

Asked:

kyu
on 1 May 2014

Commented:

on 5 May 2014

Community Treasure Hunt

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

Start Hunting!