HQP  1.9.7
simstruc.h File Reference

S-function SimStruct include file for treating an S-function either as external MEX object or inlined with Hqp using the Hxi interface. More...

#include <simulink/include/simstruc.h>
#include "Hxi_SimStruct.h"
Include dependency graph for simstruc.h:
This graph shows which files directly or indirectly include this file:

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