Developement Of An Instrument Landing Simulation ... - Cal Poly
Developement Of An Instrument Landing Simulation ... - Cal Poly
Developement Of An Instrument Landing Simulation ... - Cal Poly
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
float TSFCslNAB, TSFCslAB, rho, a, Vtrue;int EngType, NumEng;//Outputs:float RFuelFlo, LFuelFlo, RThrust, LThrust, RRPM, LRPM, RNoz, LNoz, RTemp,LTemp;void <strong>Cal</strong>culate( );/* Function: mdlInitializeSizes ======================================* Abstract:* Setup sizes of the various vectors.*/static void mdlInitializeSizes(SimStruct *S){ssSetNumSFcnParams(S, 0);if (ssGetNumSFcnParams(S) != ssGetSFcnParamsCount(S)) {return; /* Parameter mismatch will be reported by Simulink */}//This section sets up the number of inputs.if (!ssSetNumInputPorts(S, 1)) return;63