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.

{InputRealPtrsType uPtrs = ssGetInputPortRealSignalPtrs(S,0);real_T*y = ssGetOutputPortRealSignal(S,0);//Read in the Inputs:ACX=*uPtrs[0];ACY=*uPtrs[1];ACZ=*uPtrs[2];ACU=*uPtrs[3];ACV=*uPtrs[4];ACW=*uPtrs[5];APX=*uPtrs[6];APY=*uPtrs[7];APZ=*uPtrs[8];APpsi=*uPtrs[9];//<strong>Cal</strong>culate the Deviation <strong>An</strong>gles:<strong>Cal</strong>culate();//Assign the Outputs:y[0]=CDI;y[1]=CDVert;y[2]=CDHor;90

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

Saved successfully!

Ooh no, something went wrong!