Architecture of Generated C Code : Tasks View of the Code : Extracting the Time

Extracting the Time

The function sched_time (double) returns the simulated time. It can be used by the handwritten code to decide when to stimulate the model or to generate reports.