Can MATLAB code in an M-file successfully call slCharacterEncoding() without a Simulink license?
조회 수: 4 (최근 30일)
이전 댓글 표시
Can MATLAB code in an M-file successfully call
slCharacterEncoding()
or
get_param(0, 'CharacterEncoding')
to query the current locale's character encoding without needing a license which includes Simulink?
(I work at a place with a TEH site license which includes Simulink, so its not easy for me empirically determine this as I don't have access to a MATLAB license which doesn't include Simulink. However the MATLAB code I develop may be technology transfered to others who might not have a Simulink license, and it would be frivolous reason for them to have to purchase a SImulink license merely to enable my code to determine the current locale's character encoding.)
댓글 수: 0
답변 (1개)
Fangjun Jiang
2020년 8월 20일
Seems Yes.
>> license inuse
matlab
>> slCharacterEncoding()
ans =
'windows-1252'
>> license inuse
matlab
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!