0

I have a C++ program that uses the matlab interface on linux. When I run the C++ program, I get an error relating to the locale database:

MATLAB:I18n:LocaleDatabaseNotFound - Cannot find the MATLAB locale database. 
The MATLAB process default locale is set to "en_US.US-ASCII".

What does this mean? Will this error result in serious numerical problems, or is it just a minor warning?

merv
  • 1,449
  • 3
  • 13
  • 25
Dan
  • 12,157
  • 12
  • 50
  • 84

1 Answers1

2

In plain English, this error message means that Matlab usually tries to speak the language of the user, so the user interface is in English for English users, in French for French users and so on.

This is done by assigning a number to each text string that needs translation and pulling the translated stings out of a database (the 'locale database'). In your case, Matlab cannot find the translations for your language settings and falls back to English messages.

This has no impact on your numerical calculations and is only cosmetic in nature.

Maybe there could be problems with import/export formatting of ASCII data (decimal point vs decimal comma, thousand separator as ', comma or space, date as y/m/d or d/m/y or d.m.y is another aspect of the locale information).

mars
  • 774
  • 1
  • 13
  • 17
  • May I know the reason of my downvote, given essentially the same answer? In case @mars or the questionee did it. –  Jun 28 '12 at 06:29
  • @Sylar, I didn't downvote you. I think your answer is helpful for getting rid of the warning message, and I added my answer because I thought Dan wanted to know what's wrong and if his calculations are safe. The link you gave doesn't give much background on what it is that is being fixed, along the lines of "Click here to adjust the flux capacitance resonance chirp. Just do it." – mars Jun 28 '12 at 11:18
  • Yeah Yeah. Not blaming you mate. Just wanted to know what might have been wrong with the answer. I guess the thing you pointed out makes sense. Will keep in mind next time :) –  Jun 28 '12 at 11:36