When I use sprintf to output Chinese-formatted strings in the MATLAB terminal (Shift+Enter), it will produce garbled characters. However, if I use Run File (F5), it won't.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results