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 ExchangeSimulink Coder についてさらに検索

製品

リリース

R2018a

質問済み:

2018 年 10 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by