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.

Source Code:speed_sound.cC file written in S-Function format that reads in 4 inputs (Gamma, R, Temp, Velocity) andcomputes 2 outputs (Speed of Sound and Mach Number).Mach.mdlSimulink block diagram that graphically displays the user's input and the produced output. Thismodel is more complex then the XTwo model since a subsystem is required for multiple inputs and outputs.simstruc.hSimulink header file that describes the included file necessary for the S-Function. Good referenceto see what functions could be added, and the structure necessary for those functions. Look at thecomments and the structure.simulink.c<strong>An</strong>other inprotant Simulink header file that describes another included file necessary for theMEX Function. Good reference to see what is required for the MEX function. Again, look at the commentsand the structure.sfuntmpl.docExcellent source of documentation for understanding the S-Function format. Notice that it isreferred to in all the source code files.59

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

Saved successfully!

Ooh no, something went wrong!