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.

if (!ssSetNumOutputPorts(S,0)) return;/* ssSetOutputPortWidth(S, 0, 1); */ //no outputsssSetNumSampleTimes(S, 1);/* Take care when specifying exception free code - see sfuntmpl.doc */ssSetOptions(S, SS_OPTION_EXCEPTION_FREE_CODE);len=sizeof( struct sockaddr_in );}/* Function: mdlInitializeSampleTimes ================================* Abstract:* Specifiy that we inherit our sample time from the driving block.*/static void mdlInitializeSampleTimes(SimStruct *S){ssSetSampleTime(S, 0, INHERITED_SAMPLE_TIME);ssSet<strong>Of</strong>fsetTime(S, 0, 0.0);}97

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

Saved successfully!

Ooh no, something went wrong!