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

3 views (last 30 days)
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.)

Accepted Answer

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

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!