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

12 Ansichten (letzte 30 Tage)
How do I use the character or string data type in a Simulink S-Function?

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 25 Apr. 2020
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.

Weitere Antworten (0)

Kategorien

Mehr zu Prepare Model Inputs and Outputs finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Produkte


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by