From: Aldo on
I'm currently writing an Level 2 M file S-function in which I want to be able to have access to the actual simulated/simulation time. Meaning if a specific event occurs I would like to call a function like ssGetT (for C mex S-func) to get the time back. Is there such a thing?

Thanks in advance
From: Phil Goddard on

The runtime object passed to the method has a CurrentTime property:

block.CurrentTime

Phil.
 | 
Pages: 1
Prev: contour plot
Next: ISR (Interrupt service Routine)