simstruc.h File Reference
Detailed Description
S-function SimStruct include file for treating an S-function either as external MEX object or inlined with Hqp using the Hxi interface.
Intended usage: An S-function including this file can either be compiled to a stand-alone MEX S-function or it can be inlined with an Hqp optimization problem.
- Define the macro HXI_MEX_S_FUNCTION if the S-function should be compiled to a MATLAB MEX S-function. Then the original simulink/include/simstruc.h found in the path will be included.
- The alternative file Hxi_SimStruct.h will be included to compile the S-function with Hqp.
(MATLAB and Simulink are registered trademarks of The MathWorks, Inc.)
rf, 05/05/2001
#include <simulink/include/simstruc.h>
#include "Hxi_SimStruct.h"