How can MATLAB code in an M-file query the current locale's character encoding WITHOUT needing the Simulink toolbox?

1 次查看(过去 30 天)
How can MATLAB code in an M-file query the current locale's character encoding without needing the Simulink toolbox?
(Note that slCharacterEncoding() and get_param() are both Simulink toolbox functions.)

采纳的回答

Maadhav Akula
Maadhav Akula 2020-9-1
Hi Michael,
You can utilize the following command to query the current locale's character encoding:
feature('locale')
Hope this helps!

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

产品


版本

R2017a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by