Why do I get an i18n error "InconsistentLocale" or "InconsistentUiLanguage" when starting MATLAB?
2 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2012-5-4
编辑: MathWorks Support Team
2015-1-23
I get one of the following two errors when starting MATLAB on my non-US English operating system:
fl:i18n:InconsistentLocale - The system locale setting, system_locale_name, is different from the user locale setting, user_locale_name.
fl:i18n:InconsistentUiLanguage - The user UI language setting, user_ui_locale_name, is different from the user locale setting, user_locale_name.
In R2011b or prior releases, the error message is :
ERROR: MATLAB:I18n:InconsistentLocale - The system locale setting, system_locale_name, is different from the user locale setting, user_locale_name.
MATLAB:I18n:InconsistentUiLanguage - The user UI language setting, user_ui_locale_name, is different from the user locale setting, user_locale_name.
采纳的回答
MathWorks Support Team
2013-10-18
These errors mean you have an inconsistent locale setting. You should be able to resolve these issues by setting the LANG or LC_MESSAGES environment variables to the appropriate setting for your language.
Please see this link in the documentation for more information:
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!