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?

 采纳的回答

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