Hi SiHang,
On the Apple macOS platform, MATLAB reads the user locale setting. MATLAB automatically chooses a codeset for each combination of language and territory.
If you customize the locale setting, MATLAB ignores the customized portion.
You can refer to these links for more information.
Hope this Helps!