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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

* Also see Pheagle_HTML** Copyright (c) 1990-1998 by The MathWorks, Inc. All Rights Reserved.* $Revision: 1.3 $*///Define the S-Function Name the same as in Simulink model.#define S_FUNCTION_NAME engine_mod//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:float RFuelCap, LFuelCap, Np, RThrottle, LThrottle, Tsl;62

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

Saved successfully!

Ooh no, something went wrong!