I would like to see an example where I can call a static library from an S-function used in a Simulink model. The .lib file is generated from a C++ file and has calls to other libraries as well. How do I specify the legacy code tool commands to generate this S-function?
MATLAB: How to generate an S-function that calls a C++ static library with other library dependencies
cpplibsimulink
Related Question
- Is MATLAB unable to find the Microsoft Visual C++ 2015 compiler after installing Microsoft Visual Studio 2015 Professional
- How to setup Visual Studio Professional 2013 as the compiler for mex -setup Matlab 2015b
- Am I unable to generate code with Real-Time Workshop (R12.1) when I have an C-MEX S-function created using the S-function Builder Block which contains source libraries
Best Answer