I need to access data from a previous time sample to run the a subfuntion at the current time sample (for example, if x is the parameter then I need access to x(k-10) at time time k). Simulink is not letting me do that. It gives output only after the simulation is complete. Do any of you know if...