Legacy Code Tool C++ constructor parameter

조회 수: 3 (최근 30일)
Thomas Akers
Thomas Akers 2018년 10월 2일
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개)

카테고리

Help CenterFile Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by