Legacy Code Tool C++ constructor parameter

2 visualizzazioni (ultimi 30 giorni)
Thomas Akers
Thomas Akers il 2 Ott 2018
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

Risposte (0)

Categorie

Scopri di più su Deployment, Integration, and Supported Hardware in Help Center e File Exchange

Prodotti


Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by