HQP
1.9.6
|
Interface to a Simulink(R) S-function given as binary object. More...
#include "Hxi_SimStruct.h"
Functions | |
Supported S-function methods. | |
Avoid multiple inclusion | |
void | mdlInitializeSizes (SimStruct *S) |
Initialize sizes of data vectors in SimStruct. More... | |
void | mdlStart (SimStruct *S) |
Optional: Allocate local ressources for simulation. More... | |
void | mdlInitializeSampleTimes (SimStruct *S) |
Initialize sample times. More... | |
void | mdlInitializeConditions (SimStruct *S) |
Optional: Compute initial conditions. More... | |
void | mdlOutputs (SimStruct *S, int_T tid) |
Compute model outputs. More... | |
void | mdlUpdate (SimStruct *S, int_T tid) |
Optional: Update discrete-time states. More... | |
void | mdlDerivatives (SimStruct *S) |
Optional: Compute derivatives for continuous-time states. More... | |
void | mdlJacobian (SimStruct *S) |
Optional: Compute Jacobian J = d(dxc,xd,y)/d(xc,xd,u). More... | |
void | mdlTerminate (SimStruct *S) |
Release resources allocated for simulation. More... | |
Interface to a Simulink(R) S-function given as binary object.
Several S-function methods are supported that redirect the call to the binary object. Data is communicated through a SimStruct.
(Simulink is a registered trademark of The MathWorks, Inc.)
rf, 01/07/2005
|
inline |
Optional: Compute derivatives for continuous-time states.
References Hxi_mdlDerivatives().
Referenced by Hxi_SimStruct_init().
|
inline |
Optional: Compute initial conditions.
References Hxi_mdlInitializeConditions().
Referenced by Hxi_SimStruct_init().
|
inline |
Initialize sample times.
References Hxi_mdlInitializeSampleTimes().
Referenced by Hxi_SimStruct_init().
|
inline |
Initialize sizes of data vectors in SimStruct.
This function works with the shared object found under ssGetPath(S), calls the S-function method mdlInitializeSizes and allocates memory required for a level 2 S-function. The model parameters must have been initialized prior to calling this function.
References Hxi_mdlInitializeSizes().
Referenced by Hxi_SimStruct_init().
|
inline |
Optional: Compute Jacobian J = d(dxc,xd,y)/d(xc,xd,u).
References Hxi_mdlJacobian().
Referenced by Hxi_SimStruct_init().
|
inline |
|
inline |
Optional: Allocate local ressources for simulation.
References Hxi_mdlStart().
Referenced by Hxi_SimStruct_init().
|
inline |
Release resources allocated for simulation.
References Hxi_mdlTerminate().
Referenced by Hxi_SimStruct_init().
|
inline |
Optional: Update discrete-time states.
References Hxi_mdlUpdate().
Referenced by Hxi_SimStruct_init().