How do I use the Character or String data type in a Simulink S-Function?
6 views (last 30 days)
Show older comments
MathWorks Support Team
on 5 Oct 2017
Answered: MathWorks Support Team
on 20 Oct 2017
How do I use the character or string data type in a Simulink S-Function?
Accepted Answer
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.
0 Comments
More Answers (0)
See Also
Categories
Find more on Prepare Model Inputs and Outputs in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!