Implement linearly extrapolated first order hold on input signal
Simulink / Continuous
The First Order Hold block outputs a continuous piecewise linear approximation of its input signal. Use the First Order Hold block to convert a sampled discrete signal to a continuous signal without triggering a solver reset.
You can also use the First Order Hold block to break algebraic loops in your model.
Data Types 

Direct Feedthrough 

Multidimensional Signals 

VariableSize Signals 

ZeroCrossing Detection 
