How do I use the Character or String data type in a Simulink S-Function?

How do I use the character or string data type in a Simulink S-Function?

 채택된 답변

MathWorks Support Team
MathWorks Support Team 2020년 4월 25일

0 개 추천

The char and std::string data types are not supported by Simulink:
However, "character arrays" can be emulated by using the int8 data type in Simulink and data type casts within the S-Function.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Prepare Model Inputs and Outputs에 대해 자세히 알아보기

제품

릴리스

R2017a

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by