unexpected error message showing std::exception

8 Ansichten (letzte 30 Tage)
kyu
kyu am 1 Mai 2014
Kommentiert: Friedrich am 5 Mai 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 Kommentare
Image Analyst
Image Analyst am 1 Mai 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 am 2 Mai 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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by