Developement Of An Instrument Landing Simulation ... - Cal Poly
Developement Of An Instrument Landing Simulation ... - Cal Poly
Developement Of An Instrument Landing Simulation ... - Cal Poly
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
{ssSetNumSFcnParams(S, 0);if (ssGetNumSFcnParams(S) != ssGetSFcnParamsCount(S)) {return; /* Parameter mismatch will be reported by Simulink */}//is section sets up the number of inputs.if (!ssSetNumInputPorts(S, 1)) return;ssSetInputPortWidth(S, 0, 2);//4 is the number of inputs.ssSetInputPortDirectFeedThrough(S, 0, 1);if (!ssSetNumOutputPorts(S,1)) return;ssSetOutputPortWidth(S, 0, 4);//2 Number of outputs/* Stick, rudder, and throttles */ssSetNumSampleTimes(S, 1);/* Take care when specifying exception free code - see sfuntmpl.doc */ssSetOptions(S, SS_OPTION_EXCEPTION_FREE_CODE);}/* Function: mdlInitializeSampleTimes ================================78