Legacy Code Tool C++ constructor parameter

Hello, I need to pass a parameter into the C++ object I am creating in a Legacy Code Tool generated S-Function. In a perfect world I would specify the parameter via the block mask properties but am open to other methods. I have the basic function compiling and running with the parameter statically declared in the source code.
The preferred C++ interface would be: my_object_constructor(char* param_name, uint8_t length)
Any help or pointers would be greatly appreciated. Thanks, -T

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Simulink Coder 的更多信息

产品

版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by