Tuesday, March 28, 2006

custom functions

Try:

Calling User-Written C Code Functions

that will not work as it is stateflow stuff for which we do not have the licence.

also note that:

C-code S-functions are supported by Real-Time Workshop. However, M-code S-functions are not supported.

this is what I need to be looking at:

Writing S-Functions for Real-Time Workshop

I want a noninlined function:

NOTE:

Noninlined S-Function Parameter Type Limitations


Parameters to S-functions can be of the following types only:

Double precision

Characters in scalars, vectors, or 2-D matrices

For more flexibility in the type of parameters you can supply to S-functions or the operations in the S-function, inline your S-function and consider using an mdlRTW S-function routine.


Try:


Building S-Functions Automatically

0 Comments:

Post a Comment

<< Home