Simulink Reference Previous page   Next Page
IC

Set the initial value of a signal

Library

Signal Attributes

Description

The IC block sets the value of the signal at its output port at t=0.

The IC block is also useful for providing an initial guess for the algebraic state variables in the loop. For more information, see Algebraic Loops in the Using Simulink documentation.

Data Type Support

The IC block accepts and outputs a signal of type double.

Parameters and Dialog Box

Initial value
Specify the initial value for the input signal.
Sample time (-1 for inherited)
Specify the time interval between samples. To inherit the sample time, set this parameter to -1. See Specifying Sample Time in the online documentation for more information.

Examples

These blocks illustrate how the IC block initializes a signal labeled "test signal."

At t = 0, the signal value is 3. Afterwards, the signal value is 6.

Characteristics

Direct Feedthrough
Yes
Sample Time
Specified in the Sample time parameter
Scalar Expansion
Yes, of parameter only
Dimensionalized
Yes
Zero Crossing
No


Previous page  Hit Crossing If Next page

© 1994-2005 The MathWorks, Inc.