I cannot change the datetime x axis locale setting in the plot function.
显示 更早的评论
Hello,
I'm trying to change the datetime plot language in the 2d plot.
Here's my problem.

As you can see, in the first and second plot, the date is shown in Korean.
I want to change it into English format.
But I cannot find how to do it.
Can anyone help me?
I tried Locale Setting change to English in MATLAB General Setting

here, but it didn't change anything.
Thank you for reading this.
采纳的回答
更多回答(1 个)
dpb
2022-4-9
1 个投票
Since your UI is in Koren, the system LOCALE is set to it.
I don't know all there is to be known about how MATLAB uses the LOCALE, but reading the section in the doc on internatialization, it appears to me you'll probably have to set the OS LOCALE to US and then reboot.
It didn't appear there's a way to have ML use one value while the system is on another.
This issue has to be an absolute nightmare for developers to cope with...
类别
在 帮助中心 和 File Exchange 中查找有关 Graphics Objects 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



