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

6 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 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.

More Answers (0)

Categories

Find more on Prepare Model Inputs and Outputs in Help Center and File Exchange

Tags

No tags entered yet.

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!