I cannot change the datetime x axis locale setting in the plot function.
Show older comments
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.
Accepted Answer
More Answers (1)
dpb
on 9 Apr 2022
1 vote
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...
1 Comment
daeyeong Lee
on 10 Apr 2022
Categories
Find more on Graphics Objects in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


