Set initial value of signal
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 (
block does this by outputting 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
If an IC block has a nonzero sample time offset (
t = n * tperiod + toffset
That is, the IC block outputs its initial value the first time
blocks with sample time
The IC block is useful for providing an initial guess for the algebraic state variables in a loop. For more information, see Algebraic Loops.
The IC block accepts and outputs signals of any Simulink® built-in and fixed-point data type. The Initial value parameter accepts any built-in data type that Simulink supports. For more information, see Data Types Supported by Simulink.
Specify the initial value for the input signal.
This parameter is not visible in the block dialog box unless
it is explicitly set to a value other than
The following examples show how to use the IC block:
Double | Single | Boolean | Base Integer | Fixed-Point | Enumerated
Inherited from driving block