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

Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products

Release

R2018a

Asked:

on 2 Oct 2018

Community Treasure Hunt

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

Start Hunting!