12.07.2015 Views

Developement Of An Instrument Landing Simulation ... - Cal Poly

Developement Of An Instrument Landing Simulation ... - Cal Poly

Developement Of An Instrument Landing Simulation ... - Cal Poly

SHOW MORE
SHOW LESS

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

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!