ccodeinputsexample

Navigation:  »No topics above this level«

ccodeinputsexample

Return to chapter overview

This code:

 

/* this function sets the input variables from the input vector */

void XXCopyInputsToVariables (XXDouble *u)

{

/* copy the input vector to the input variables */

%INPUT_TO_VARIABLE_EQUATIONS%

}

 

will be replaced by (example values):

 

/* this function sets the input variables from the input vector */

void XXCopyInputsToVariables (XXDouble *u)

{

/* copy the input vector to the input variables */

V[58] = u[0]; /* control */

}