From: sdfs sfdf on
Hello,

how can i use the current time t in the header of the s-function
function [sys,x0,str,ts] = ABC(t,x,u,flag) ? What i want is to get the values of some parameters which are calculated with the s-function at a certain time of my simulation.
For example when the s-function is calculating the Temperature in a system and i want to get the Temperature at certain Timesteps.
Thanks