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.
#define S_FUNCTION_NAME ils_model//Define the S-Function Level to be 2 for Models#define S_FUNCTION_LEVEL 2//This header file is necessary for Simulink data structure. It is highly//suggested to look at this file to see the structure of the S-Function.#include "simstruc.h"//Include any C++ header files or other files needed for syntax or class definition.#include #include //Declare local input and output varaible names.//Inputs:double ACX, ACY, ACZ, ACU, ACV, ACW, APX, APY, APZ, APpsi;//Outputs:double CDI, CDVert, CDHor;void <strong>Cal</strong>culate( );/* Function: mdlInitializeSizes ======================================86