Set initial value of signal
Simulink / Signal Attributes
The IC block sets the initial condition of the signal at its input port, for
example, the value of the signal at the simulation start time
(t_{start}
). To do so, the block outputs
the specified initial condition when you start the simulation, regardless of the actual
value of the input signal. Thereafter, the block outputs the actual value of the input
signal.
The IC block is useful for providing an initial guess for the algebraic state variables in a loop. For more information, see Algebraic Loop Concepts.
If an IC block has a nonzero sample time offset
(t_{offset}
), the IC
block outputs its initial value at time t
,
t = n * t_{period} + t_{offset}
where n
is the smallest integer such that t ≥
t_{start}
.
That is, the IC block outputs its initial value the firsttime blocks with
sample time [t_{period},
t_{offset}]
execute, which can be after
t_{start}
.
Data Types 

Direct Feedthrough 

Multidimensional Signals 

VariableSize Signals 

ZeroCrossing Detection 
