I have a question about my triggered subsystem in Simulink:
So the Susbsystem is executed every 0.01 s.
My question is: how can I get this variable (0.01) inside my subsystem? NB: I don't need the Simulation step time.
I've already thought to two solutions: 1) use a Digital Clock with a Memory block 2) use a Weighted Sample Time block
but, both of them gave me an initial value of 0.
Do you have an elegant solution for my task
Thank you very much. Have a nice day
