I am using the Legacy Code Tool (LCT) to import some existing C++ code. In my .cpp function calls, I am accessing class data and methods via the scope operator ( :: ). I am not sure how this would translate over to the wrappers for methods used in Simulink.
MATLAB: Is there a way to access class data and methods with the scope (::) operator with the Legacy Code Tool in Simulink 6.4 (R2006a)
codelegacysimulinktool
Related Question
- Error using mex G:\Matlab_WS\code_test\Assignment1\Add_Two.c:3:1: warning: return type defaults to ‘int’ [-Wimplicit-int] Add_Two(U16 a, U16 b)
- When I run a s-function block generated by legacy code tool, matlab system error dialog will be show up. Why
- Generation of an S-function block in simulink by integrating legacy C-code through the legacy code tool
- Is there a way to get the legacy code tool to generate code which passes the Simstruct object to a user’s C/C++ code in Simulink 7.2 (R2008b)
- How to use Legacy Code Tool to create a Simulink S-function block with multiple output ports in Simulink 7.0 (R2007b)
Best Answer