Simulink Reference    

Block-Specific Parameters

These tables list block-specific parameters for all Simulink blocks. The type of the block appears in parentheses after the block name. Some Simulink blocks are implemented as masked subsystems. The tables indicate masked blocks by adding the designation "masked" after the block type.

The Dialog Box Prompt column indicates the text of the prompt for the parameter on the block's dialog box. The Values column shows the type of value required (scalar, vector, variable), the possible values (separated with a vertical line), and the default value (enclosed in braces).

Table 8-3: Continuous Library Block Parameters 
Block (Type)/Parameter
Dialog Box Prompt
Values

Derivative (Derivative) (no block-specific parameters)


Integrator (Integrator)


   ExternalReset

External reset

{none} | rising | falling | either

   InitialConditionSource

Initial condition source

{internal} | external

   InitialCondition

Initial condition

scalar or vector {0}

   LimitOutput

Limit output

{off} | on

   UpperSaturationLimit

Upper saturation limit

scalar or vector {inf}

   LowerSaturationLimit

Lower saturation limit

scalar or vector {-inf}

   ShowSaturationPort

Show saturation port

{off} | on

   ShowStatePort

Show state port

{off} | on

   AbsoluteTolerance

Absolute tolerance

scalar {auto}

State-Space (StateSpace)


   A

A

matrix {1}

   B

B

matrix {1}

   C

C

matrix {1}

   D

D

matrix {1}

   X0

Initial conditions

vector {0}

Transfer Fcn (TransferFcn)


   Numerator

Numerator

vector or matrix {[1]}

   Denominator

Denominator

vector {[1 1]}

Transport Delay (TransportDelay)


   DelayTime

Time delay

scalar or vector {1}

   InitialInput

Initial input

scalar or vector {0}

   BufferSize

Initial buffer size

scalar {1024}

Variable Transport Delay (VariableTransportDelay)


   MaximumDelay

Maximum delay

scalar or vector {10}

   InitialInput

Initial input

scalar or vector {0}

   MaximumPoints

Buffer size

scalar {1024}

Zero-Pole (ZeroPole)


   Zeros

Zeros

vector {[1]}

   Poles

Poles

vector {[0 -1]}

   Gain

Gain

vector {[1]}

Table 8-4: Discontinuities Library Block Parameters 
Block (Type)/Parameter
Dialog Box Prompt
Values

Backlash (Backlash)


   BacklashWidth

Deadband width

scalar or vector {1}

   InitialOutput

Initial output

scalar or vector {0}

Coulomb & Viscous Friction (Coulombic and Viscous Friction) (masked)

Dead Zone (DeadZone)


   LowerValue

Start of dead zone

scalar or vector {-0.5}

   UpperValue

End of dead zone

scalar or vector {0.5}

Hit Crossing (HitCross)


   HitCrossingOffset

Hit crossing offset

scalar or vector {0}

   HitCrossingDirection

Hit crossing direction

rising | falling | {either}

   ShowOutputPort

Show output port

{on} | off

Quantizer (Quantizer)


   QuantizationInterval

Quantization interval

scalar or vector {0.5}

Rate Limiter (RateLimiter)


   RisingSlewLimit

Rising slew rate

scalar or vector {1.}

   FallingSlewLimit

Falling slew rate

scalar or vector {-1.}

Relay (Relay)


   OnSwitchValue

Switch on point

scalar or vector {eps}

   OffSwitchValue

Switch off point

scalar or vector {eps}

   OnOutputValue

Output when on

scalar or vector {1}

   OffOutputValue

Output when off

scalar or vector {0}

Saturation (Saturate)


   UpperLimit

Upper limit

scalar or vector {0.5}

   LowerLimit

Lower limit

scalar or vector {-0.5}

Table 8-5: Discrete Library Block Parameters 
Block (Type)/Parameter
Dialog Box Prompt
Values

Discrete Filter (DiscreteFilter)


   Numerator

Numerator

vector {[1]}

   Denominator

Denominator

vector {[1 2]}

   SampleTime

Sample time

scalar (sample period) {1}
or vector [period offset]

Discrete State-Space (DiscreteStateSpace)


   A

A

matrix {1}

   B

B

matrix {1}

   C

C

matrix {1}

   D

D

matrix {1}

   X0

Initial conditions

vector {0}

   SampleTime

Sample time

scalar (sample period) {1}
or vector [period offset]

Discrete-Time Integrator (DiscreteIntegrator)


   IntegratorMethod

Integrator method

{ForwardEuler} | BackwardEuler | Trapezoidal

   ExternalReset

External reset

{none} | rising | falling | either

   InitialConditionSource

Initial condition source

{internal} | external

   InitialCondition

Initial condition

scalar or vector {0}

   LimitOutput

Limit output

{off} | on

   UpperSaturationLimit

Upper saturation limit

scalar or vector {inf}

   LowerSaturationLimit

Lower saturation limit

scalar or vector {-inf}

   ShowSaturationPort

Show saturation port

{off} | on

   ShowStatePort

Show state port

{off} | on

   SampleTime

Sample time

scalar (sample period) {1}
or vector [period offset]

Discrete Transfer Fcn (DiscreteTransferFcn)


   Numerator

Numerator

vector {[1]}

   Denominator

Denominator

vector {[1 0.5]}

   SampleTime

Sample time

scalar (sample period) {1}
or vector [period offset]

Discrete Zero-Pole (DiscreteZeroPole)


   Zeros

Zeros

vector {[1]}

   Poles

Poles

vector [0 0.5]

   Gain

Gain

scalar {1}

   SampleTime

Sample time

scalar (sample period) {1}
or vector [period offset]

First-Order Hold (First Order Hold) (masked)


Memory (Memory)


   X0

Initial condition

scalar or vector {0}

   InheritSampleTime

Inherit sample time

{off} | on

Unit Delay (UnitDelay)


   X0

Initial condition

scalar or vector {0}

   SampleTime

Sample time

scalar (sample period) {1}
or vector [period offset]

Zero-Order Hold (ZeroOrderHold)


   SampleTime

Sample time

scalar (sample period) {1}
or vector [period offset]

Table 8-6: Look-Up Tables Block Parameters 
Block (Type)/Parameter
Dialog Box Prompt
Values

Look-Up Table (Lookup)


   InputValues

Vector of input values

vector {[-5:5]}

   OutputValues

Vector of output values

vector {tanh([-5:5])}

Look-Up Table (2-D) (Lookup Table (2-D)) (masked)

   RowIndex

Row

vector

   ColumnIndex

Column

vector

   OutputValues

Table

2-D matrix

Table 8-7: Math Library Block Parameters 
Block (Type)/Parameter
Dialog Box Prompt
Values

Abs (Abs) (no block-specific parameters)


Algebraic Constraint (Algebraic Constraint) (masked)


Combinatorial Logic (CombinatorialLogic)


   TruthTable

Truth table

matrix {[0 0;0 1;0 1;1 0;
 0 1;1 0;1 0;1 1]}

Complex to Magnitude-Angle


Complex to Real-Imag


Dot Product (Dot Product) (masked)


Gain (Gain)


   Gain

Gain

scalar or vector {1}

Logical Operator (Logic)


   Operator

Operator

{AND} | OR | NAND | NOR | XOR | NOT

   Inputs

Number of input ports

scalar {2}

Magnitude-Angle to Complex


Math Function (Math)


   Operator

Function

{exp} | log | log10 | square | sqrt | pow | reciprocal | hypot | rem | mod

Matrix Gain (Matrix Gain) (masked)


MinMax (MinMax)


   Function

Function

{min} | max

   Inputs

Number of input ports

scalar {1}

Product (Product)


   Inputs

Number of inputs

scalar {2}

Relational Operator (RelationalOperator)


   Operator

Operator

== | != | < | {<=} | >= | >

Relational Operator (RelationalOperator)


   Operator

Operator

== | != | < | {<=} | >= | >

Rounding Function (Rounding)


   Operator

Function

{floor} | ceil | round | fix

Sign (Signum) (no block-specific parameters)


Slider Gain (SliderGain) (masked)


Sum (Sum)


   Inputs

List of signs

scalar or list of signs {++}

Trigonometric Function (Trigonometry)


   Operator

Function

{sin} | cos | tan | asin | acos | atan | atan2 | sinh | cosh | tanh

Table 8-8: Model-Wide Utilities 
Block (Type)/Parameter
Dialog Box Prompt
Values

Model Info (CMBlock) (mask)


Table 8-9: Ports & Subsystems 
Block (Type)/Parameter
Dialog Box Prompt
Values

Configurable Subsystem (mask)

   Choice

Block choice

string

   LibraryName

Library name

string

Enable (EnablePort)


   StatesWhenEnabling

States when enabling

{held} | reset

   ShowOutputPort

Show output port

{off} | on

In (Inport)


   Port

Port number

scalar {1}

   PortWidth

Port width

scalar {-1}

   SampleTime

Sample time

scalar (sample period) {-1}
or vector [period offset]

Out (Outport)


   Port

Port number

scalar {1}

   OutputWhenDisabled

Output when disabled

{held} | reset

   InitialOutput

Initial output

scalar or vector {0}

Subsystem (SubSystem)


   ShowPortLabels

Show/Hide Port Labels Format menu item

{on} | off

Terminator (Terminator) (no block-specific parameters)


Trigger (TriggerPort)


   TriggerType

Trigger type

{rising} | falling | either | function-call

   ShowOutputPort

Show output port

{off} | on

Table 8-10: Signal Attributes
Block (Type)/Parameter
Dialog Box Prompt
Values

Data Type Conversion


IC (InitialCondition)


   Value

Initial value

scalar or vector {1}

Width (Width) (no block-specific parameters)


Table 8-11: Signal Routing 
Block (Type)/Parameter
Dialog Box Prompt
Values

Bus Selector (BusSelector)


   InputSignals

Cell array of the input signals nested to reflect the signal hierarchy

Data Store Memory (DataStoreMemory)


   DataStoreName

Data store name

tag {A}

   InitialValue

Initial value

vector {0}

Data Store Read (DataStoreRead)


   DataStoreName

Data store name

tag {A}

   SampleTime

Sample time

scalar (sample period) {-1}
or vector [period offset]

Data Store Write (DataStoreWrite)


   DataStoreName

Data store name

tag {A}

   SampleTime

Sample time

scalar (sample period) {-1}
or vector [period offset]

Demux (Demux)


   Outputs

Number of outputs

scalar or vector {3}

From (From)


   GotoTag

Goto tag

tag {A}

Goto (Goto)


   GotoTag

Tag

tag {A}

   TagVisibility

Tag visibility

{local} | scoped | global

Goto Tag Visibility (GotoTagVisibility)


   GotoTag

Goto tag

tag {A}

Manual Switch (Manual Switch) (masked)


Merge


Multiport Switch (MultiPortSwitch)


   Inputs

Number of inputs

scalar or vector {3}

Mux (Mux)


   Inputs

Number of inputs

scalar or vector {3}

Switch (Switch)


   Threshold

Threshold

scalar or vector {0}

Table 8-12: Sinks Library Block Parameters 
Block (Type)/Parameter
Dialog Box Prompt
Values

Display (Display)


   Format

Format

{short} | long | short_e | long_e | bank

   Decimation

Decimation

scalar {1}

   Floating

Floating display

{off} on

   SampleTime

Sample time

scalar (sample period) {-1}
or vector [period offset]

Out (Outport)


   Port

Port number

scalar {1}

   OutputWhenDisabled

Output when disabled

{held} | reset

   InitialOutput

Initial output

scalar or vector {0}

Scope (Scope)


   Location

Position of Scope window on screen

vector {[left top right bottom]}

   Open

(If Scope is open when the model is opened; cannot be set from dialog box)

{off} | on

   NumInputPorts

Number of axes

positive integer > 0

   TickLabels

Hide tick labels

{on} | off

   ZoomMode

(Zoom button initially pressed)

{on} | xonly | yonly

   AxesTitles

Title (on right-click axes)

scalar {auto}

   Grid

(For future use)

{on} | off

   TimeRange

Time range

scalar {auto}

   YMin

Y min

scalar {-5}

   YMax

Y max

scalar {5}

   SaveToWorkspace

Save data to workspace

{off} | on

   SaveName

Variable name

variable {ScopeData}

   DataFormat

Format

{matrix | structure}

   LimitMaxRows

Limit rows to last

{on} | off

   MaxRows

(no label)

scalar {5000}

   Decimation

(Value if Decimation is selected)

scalar {1}

   SampleInput

(Toggles with Decimation)

{off} | on

   SampleTime

(SampleInput value)

scalar (sample period) {0}
or vector [period offset]

Stop Simulation (StopSimulation) (no block-specific parameters)

Terminator (Terminator) (no block-specific parameters)


To File (ToFile)


   Filename

Filename

filename {untitled.mat}

   MatrixName

Variable name

variable {ans}

   Decimation

Decimation

scalar {1}

   SampleTime

Sample time

scalar (sample period) {-1}
or vector [period offset]

To Workspace (ToWorkspace)


   VariableName

Variable name

variable {simout}

   Buffer

Maximum number of rows

scalar {inf}

   Decimation

Decimation

scalar {1}

   SampleTime

Sample time

scalar (sample period) {-1}
or vector [period offset]

XY Graph (XY scope.) (masked)


Table 8-13: Sources Library Block Parameters 
Block (Type)/Parameter
Dialog Box Prompt
Values

Band-Limited White Noise (Continuous White Noise) (masked)

Chirp Signal (chirp) (masked)


   VectorParams1D

Interpret vector parameters as 1-D

off {on}

Clock (Clock) (no block-specific parameters)


Constant (Constant)


   Value

Constant value

scalar or vector {1}

   VectorParams1D

Interpret vector parameters as 1-D

off {on}

Digital Clock (DigitalClock)


   SampleTime

Sample time

scalar (sample period) {1}
or vector [period offset]

From File (FromFile)


   FileName

Filename

filename {untitled.mat}

From Workspace (FromWorkspace)


   VariableName

Matrix table

matrix {[T,U]}

Ground (Ground) (no block-specific parameters)


In (Inport)


   Port

Port number

scalar {1}

   PortWidth

Port width

scalar {-1}

   SampleTime

Sample time

scalar (sample period) {-1}
or vector [period offset]

Pulse Generator (Pulse Generator)


   Amplitude

Amplitude

scalar {1}, vector, or matrix

   PhaseDelay

Phase delay

scalar {0}, vector, or matrix

   PulseType

Pulse type

{'Time based'} | 'Sample based'

   PulseWidth

Pulse width

scalar {50}, vector, or matrix

   SampleTime

Sample time

scalar (sample period) {1}
or vector [period offset]

   VectorParams1D

Interpret vector parameters as 1-D

off {on}

Ramp (Ramp) (masked)


   VectorParams1D

Interpret vector parameters as 1-D

off {on}

Random Number (RandomNumber)


   Seed

Initial seed

scalar or vector {0}

   VectorParams1D

Interpret vector parameters as 1-D

off {on}

Repeating Sequence (Repeating table) (masked)


Signal Generator (SignalGenerator)


   WaveForm

Wave form

{sine} | square | sawtooth | random

   Amplitude

Amplitude

scalar or vector {1}

   Frequency

Frequency

scalar or vector {1}

   Units

Units

{Hertz} | rad/sec

   VectorParams1D

Interpret vector parameters as 1-D

off {on}

Sine Wave (Sin)


   Amplitude

Amplitude

scalar or vector {1}

   Frequency

Frequency

scalar or vector {1}

   Phase

Phase

scalar or vector {0}

   SampleTime

Sample time

scalar (sample period) {-1}
or vector [period offset]

   VectorParams1D

Interpret vector parameters as 1-D

off {on}

Step (Step)


   Time

Step time

scalar or vector {1}

   Before

Initial value

scalar or vector {0}

   After

Final value

scalar or vector {1}

   VectorParams1D

Interpret vector parameters as 1-D

off {on}

Uniform Random Number (Uniform RandomNumber)

   Minimum

Minimum

scalar or vector {-1}

   Maximum

Maximum

scalar or vector {1}

   Seed

Initial Seed

scalar or vector {0}

   SampleTime

Sample Time

scalar or vector {0}

   VectorParams1D

Interpret vector parameters as 1-D

off {on}

Table 8-14: User-Defined Functions Block Parameters 
Block (Type)/Parameter
Dialog Box Prompt
Values

Fcn (Fcn)


   Expr

Expression

expression
   {sin(u(1)*exp(2.3*(-u(2))))}

MATLAB Fcn (MATLABFcn)


   MATLABFcn

MATLAB function

MATLAB function {sin}

   OutputWidth

Output width

scalar or vector {-1}

S-Function (S-Function)


   FunctionName

S-function name

name {system}

   Parameters

S-function parameters

Additional parameters if needed


  Common Block Parameters Mask Parameters