Documentation

Blocks

Alphabetical List By Category
1-D Lookup TableApproximate one-dimensional function
2-D Lookup TableApproximate two-dimensional function
AbsOutput absolute value of input
Action PortImplement Action subsystems used in if and switch control flow statements
Algebraic ConstraintConstrain input signal
Argument InportArgument input port for Simulink Function block
Argument OutportArgument output port for Simulink Function block
AssertionCheck whether signal is zero
AssignmentAssign values to specified elements of signal
BacklashModel behavior of system with play
Band-Limited White NoiseIntroduce white noise into continuous system
BiasAdd bias to input
Bit ClearSet specified bit of stored integer to zero
Bit ConcatConcatenates up to 128 input words into single output
Bit ReduceAND, OR, or XOR bit reduction on all input signal bits to single bit
Bit RotateRotate input signal by bit positions
Bit SetSet specified bit of stored integer to one
Bit ShiftLogical or arithmetic shift of input signal
Bit SliceReturn field of consecutive bits from input signal
Bitwise OperatorSpecified bitwise operation on inputs
Block Support TableView data type support for Simulink blocks
Bus AssignmentReplace specified bus elements
Bus CreatorCreate bus signal from input signals
Bus SelectorSelect signals from incoming bus
Bus to VectorConvert virtual bus to vector
Callback ButtonExecute MATLAB code based on user input
ChartImplement control logic with finite state machine
Check BoxSelect parameter or variable value
Check Discrete GradientCheck that absolute value of difference between successive samples of discrete signal is less than upper bound
Check Dynamic GapCheck that gap of possibly varying width occurs in range of signal's amplitudes
Check Dynamic Lower BoundCheck that one signal is always less than another signal
Check Dynamic RangeCheck that signal falls inside range of amplitudes that varies from time step to time step
Check Dynamic Upper BoundCheck that one signal is always greater than another signal
Check Input ResolutionCheck that input signal has specified resolution
Check Static GapCheck that gap exists in signal's range of amplitudes
Check Static Lower BoundCheck that signal is greater than (or optionally equal to) static lower bound
Check Static RangeCheck that signal falls inside fixed range of amplitudes
Check Static Upper BoundCheck that signal is less than (or optionally equal to) static upper bound
Chirp SignalGenerate sine wave with increasing frequency
ClockDisplay and provide simulation time
Combinatorial LogicImplement truth table
Combo BoxSelect parameter value from drop-down menu
Compare To ConstantDetermine how signal compares to specified constant
Compare To ZeroDetermine how signal compares to zero
Complex to Magnitude-AngleCompute magnitude and/or phase angle of complex signal
Complex to Real-ImagOutput real and imaginary parts of complex input signal
Configurable SubsystemRepresent any block selected from user-specified library of blocks
ConstantGenerate constant value
CosineImplement fixed-point sine or cosine wave using lookup table approach that exploits quarter wave symmetry
Cosine HDL OptimizedImplement fixed-point cosine wave optimized for HDL code generation
Coulomb and Viscous FrictionModel discontinuity at zero, with linear gain elsewhere
Counter Free-RunningCount up and overflow back to zero after reaching maximum value for specified number of bits
Counter LimitedCount up and wrap back to zero after outputting specified upper limit
Dashboard ScopeTrace signals during simulation
Data Store MemoryDefine data store
Data Store ReadRead data from data store
Data Store WriteWrite data to data store
Data Type ConversionConvert input signal to specified data type
Data Type Conversion InheritedConvert from one data type to another using inherited data type and scaling
Data Type DuplicateForce all inputs to same data type
Data Type PropagationSet data type and scaling of propagated signal based on information from reference signals
Data Type Scaling StripRemove scaling and map to built in integer
Dead ZoneProvide region of zero output
Dead Zone DynamicSet inputs within bounds to zero
Decrement Real WorldDecrease real world value of signal by one
Decrement Stored IntegerDecrease stored integer value of signal by one
Decrement Time To ZeroDecrease real-world value of signal by sample time, but only to zero
Decrement To ZeroDecrease real-world value of signal by one, but only to zero
DelayDelay input signal by fixed or variable sample periods
DemuxExtract and output elements of virtual vector signal
DerivativeOutput time derivative of input
Deserializer1DConvert scalar stream or smaller vectors to vector signal
Detect ChangeDetect change in signal value
Detect DecreaseDetect decrease in signal value
Detect Fall NegativeDetect falling edge when signal value decreases to strictly negative value, and its previous value was nonnegative
Detect Fall NonpositiveDetect falling edge when signal value decreases to nonpositive value, and its previous value was strictly positive
Detect IncreaseDetect increase in signal value
Detect Rise NonnegativeDetect rising edge when signal value increases to nonnegative value, and its previous value was strictly negative
Detect Rise PositiveDetect rising edge when signal value increases to strictly positive value, and its previous value was nonpositive
DifferenceCalculate change in signal over one time step
Digital ClockOutput simulation time at specified sampling interval
Direct Lookup Table (n-D)Index into N-dimensional table to retrieve element, column, or 2-D matrix
Discrete DerivativeCompute discrete-time derivative
Discrete Filter Model Infinite Impulse Response (IIR) filters
Discrete FIR FilterModel FIR filters
Discrete State-SpaceImplement discrete state-space system
Discrete Transfer Fcn Implement discrete transfer function
Discrete Zero-PoleModel system defined by zeros and poles of discrete transfer function
Discrete-Time IntegratorPerform discrete-time integration or accumulation of signal
DisplayDisplay signal value during simulation
DisplayShow value of input
DivideDivide one input by another
DocBlockCreate text that documents model and save text with model
Dot ProductGenerate dot product of two vectors
Dual Port RAMDual port RAM with two output ports
Dual Port RAM System, Simple Dual Port RAM System, Single Port RAM SystemRAM blocks based on the hdl.RAM system object with ability to provide initial value
Dual Rate Dual Port RAMDual Port RAM that supports two rates
EditEnter new value for parameter
EnableAdd enable port to subsystem or model
Enabled and Triggered SubsystemSubsystem whose execution is enabled and triggered by external input
Enabled SubsystemSubsystem whose execution is enabled by external input
Enabled Synchronous SubsystemRepresent enabled subsystem that has synchronous reset and enable behavior
Enumerated ConstantGenerate enumerated constant value
Environment ControllerCreate branches of block diagram that apply only to simulation or only to code generation
Event ListenerAdd event port to a subsystem block
Extract BitsOutput selection of contiguous bits from input signal
FcnApply specified expression to input
Find Find nonzero elements in array
First-Order HoldImplement first-order sample-and-hold
Fixed-Point State-SpaceImplement discrete-time state space
Float TypecastTypecast a floating-point type to an unsigned integer or vice versa
Floating ScopeDisplay signals generated during simulation
FMUInclude Functional Mockup Unit (FMU) in model
For EachProcess elements or subarrays of a mask parameter or input signal independently
For Each SubsystemSubsystem that repeats execution on each element or subarray of input signal and concatenates results
For IteratorRepeatedly execute contents of subsystem at current time step until iteration variable exceeds specified iteration limit
For Iterator SubsystemSubsystem that repeats execution during a simulation time step
FromAccept input from Goto block
From FileLoad data from MAT-file
From SpreadsheetRead data from spreadsheet
From WorkspaceLoad signal data from workspace
Function CallerCall Simulink or exported Stateflow function
Function-Call Feedback LatchBreak feedback loop involving data signals between function-call blocks
Function-Call GeneratorProvide function-call signal to control execution of a subsystem or model
Function-Call SplitProvide junction for splitting function-call signal
Function-Call SubsystemSubsystem whose execution is triggered by external function call input
GainMultiply input by constant
GaugeDisplay input value on circular scale
GotoPass block input to From blocks
Goto Tag VisibilityDefine scope of Goto block tag
GroundGround unconnected input port
Half GaugeDisplay input value on semicircular scale
HDL CounterFree-running or count-limited hardware counter
HDL FIFOStores sequence of input samples in first in, first out (FIFO) register
HDL ReciprocalCalculate reciprocal with Newton-Raphson approximation method
Hit CrossingDetect crossing point
ICSet initial value of signal
IfModel if-else control flow
If Action SubsystemSubsystem whose execution is triggered by If block
In Bus Element Select bus element or entire bus that is connected to subsystem input port
Increment Real WorldIncrease real world value of signal by one
Increment Stored IntegerIncrease stored integer value of signal by one
Index VectorSwitch output between different inputs based on value of first input
Initialize FunctionExecutes contents on a model initialize event
Inport Create input port for subsystem or external input
IntegratorIntegrate signal
Interpolation Using PrelookupUse precalculated index and fraction values to accelerate approximation of N-dimensional function
Interpreted MATLAB FunctionApply MATLAB function or expression to input
Interval TestDetermine if signal is in specified interval
Interval Test DynamicDetermine if signal is in specified interval
KnobTune parameter value with dial
LampDisplay color reflecting input value
Level-2 MATLAB S-FunctionUse Level-2 MATLAB S-function in model
Linear GaugeDisplay input value on linear scale
Logical OperatorPerform specified logical operation on input
Lookup Table DynamicApproximate one-dimensional function using dynamic table
Magnitude-Angle to ComplexConvert magnitude and/or a phase angle signal to complex signal
Manual Switch Switch between two inputs
Manual Variant SinkSwitch amongst multiple variant choices at output
Manual Variant SourceSwitch amongst multiple variant choices at input
Math FunctionPerform mathematical function
MATLAB FunctionInclude MATLAB code in models that generate embeddable C code
MATLAB SystemInclude System object in model
MemoryOutput input from previous time step
MergeCombine multiple signals into single signal
MinMaxOutput minimum or maximum input value
MinMax Running ResettableDetermine minimum or maximum of signal over time
ModelInclude multiple model implementations as block in another model
Model InfoDisplay model properties and text in model
Multiply-AccumulatePerform a multiply-accumulate operation on the inputs
Multiply-AddMultiply-add combined operation
Multiport Switch Choose between multiple block inputs
MultiStateImageDisplay image reflecting input value
MuxCombine input signals of same data type and numeric type into virtual vector
n-D Lookup TableApproximate N-dimensional function
Out Bus ElementOutput signals from a subsystem as a virtual bus
OutportCreate output port for subsystem or external output
Permute DimensionsRearrange dimensions of multidimensional array dimensions
PID ControllerSimulate continuous- or discrete-time PID controllers
PID Controller (2 DOF)Simulate continuous- or discrete-time two-degree-of-freedom PID controllers
PolynomialPerform evaluation of polynomial coefficients on input values
PrelookupCompute index and fraction for Interpolation Using Prelookup block
ProbeOutput signal attributes, including width, dimensionality, sample time, and complex signal flag
ProductMultiply and divide scalars and nonscalars or multiply and invert matrices
Product of ElementsCopy or invert one scalar input, or collapse one nonscalar input
Pulse GeneratorGenerate square wave pulses at regular intervals
Push ButtonSet value of parameter when button is pressed
QuantizerDiscretize input at specified interval
Quarter GaugeDisplay input value on quadrant scale
Radio ButtonSelect parameter value
RampGenerate constantly increasing or decreasing signal
Random NumberGenerate normally distributed random numbers
Rate LimiterLimit rate of change of signal
Rate Limiter DynamicLimit rising and falling rates of signal
Rate TransitionHandle transfer of data between blocks operating at different rates
Real-Imag to ComplexConvert real and/or imaginary inputs to complex signal
Relational OperatorPerform specified relational operation on inputs
RelaySwitch output between two constants
Repeating SequenceGenerate arbitrarily shaped periodic signal
Repeating Sequence InterpolatedOutput discrete-time sequence and repeat, interpolating between data points
Repeating Sequence StairOutput and repeat discrete time sequence
ResetAdd reset port to subsystem
Reset FunctionExecutes contents on a model reset event
Resettable DelayDelay input signal by variable sample period and reset with external signal
Resettable Subsystem Subsystem whose block states reset with external trigger
Resettable Synchronous SubsystemRepresent resettable subsystem that has synchronous reset and enable behavior
ReshapeChange dimensionality of signal
Rocker SwitchToggle parameter between two values
Rotary SwitchSwitch parameter to set values on dial
Rounding FunctionApply rounding function to signal
S-FunctionInclude S-function in model
S-Function BuilderCreate S-function from C code that you provide
SaturationLimit range of signal
Saturation DynamicBound range of input
ScopeDisplay signals generated during simulation
Second-Order Integrator Integrate input signal twice
SelectorSelect input elements from vector, matrix, or multidimensional signal
Serializer1DConvert vector signal to scalar or smaller vectors
Shift ArithmeticShift bits or binary point of signal
SignIndicate sign of input
Signal BuilderCreate and generate interchangeable groups of signals whose waveforms are piecewise linear
Signal ConversionConvert signal to new type without altering signal values
Signal EditorDisplay, create, edit, and switch interchangeable scenarios
Signal GeneratorGenerate various waveforms
Signal SpecificationSpecify desired dimensions, sample time, data type, numeric type, and other attributes of signal
Simple Dual Port RAMDual port RAM with single output port
Simulink FunctionFunction defined with Simulink blocks
Sine HDL OptimizedImplement fixed-point sine wave by using lookup table approach that exploits quarter wave symmetry
Sine WaveGenerate sine wave, using simulation time as time source
Sine Wave FunctionGenerate sine wave, using external signal as time source
Single Port RAMSingle port RAM
SliderTune parameter value with sliding scale
Slider GainVary scalar gain using slider
Slider SwitchToggle parameter between two values
SqrtCalculate square root, signed square root, or reciprocal of square root
SqueezeRemove singleton dimensions from multidimensional signal
State ControlSpecify synchronous reset and enable behavior for blocks with state
State ReaderRead a block state
State WriterWrite to a block state
State-SpaceImplement linear state-space system
StepGenerate step function
Stop SimulationStop simulation when input is nonzero
SubsystemGroup blocks to create model hierarchy
SumAdd or subtract inputs
SwitchSwitch output between first input and third input based on value of second input
Switch CaseImplement C-like switch control flow statement
Switch Case Action SubsystemSubsystem whose execution is triggered by Switch Case block
Synchronous SubsystemRepresent subsystem that has synchronous reset and enable behavior
Tapped DelayDelay scalar signal multiple sample periods and output all delayed versions
Terminate FunctionExecute contents on a model terminate event
TerminatorTerminate unconnected output port
Timed-Based LinearizationGenerate linear models in base workspace at specific times
To FileWrite data to file
To WorkspaceWrite data to workspace
Toggle SwitchToggle parameter between two values
Transfer FcnModel linear system by transfer function
Transfer Fcn Direct Form IIImplement Direct Form II realization of transfer function
Transfer Fcn Direct Form II Time VaryingImplement time varying Direct Form II realization of transfer function
Transfer Fcn First OrderImplement discrete-time first order transfer function
Transfer Fcn Lead or LagImplement discrete-time lead or lag compensator
Transfer Fcn Real ZeroImplement discrete-time transfer function that has real zero and no pole
Transport DelayDelay input by given amount of time
TriggerAdd trigger port to subsystem or model
Trigger-Based LinearizationGenerate linear models in base workspace when triggered
Triggered SubsystemSubsystem whose execution is triggered by external input
Trigonometric FunctionSpecified trigonometric function on input
Unary MinusNegate input
Uniform Random NumberGenerate uniformly distributed random numbers
Unit ConversionConvert units
Unit DelayDelay signal one sample period
Unit Delay Enabled Resettable SynchronousDelay input signal by one sample period when external Enable signal is true and external Reset signal is false
Unit Delay Enabled SynchronousDelay input signal by one sample period when external Enable signal is true
Unit Delay Resettable SynchronousDelay input signal by one sample period when external Reset signal is false
Unit System ConfigurationConfigure units
Unresolved LinkIndicate unresolved reference to library block
Variable Integer DelayDelay input signal by variable sample period
Variable Time DelayDelay input by variable amount of time
Variant SinkRoute amongst multiple outputs using variants
Variant SourceRoute amongst multiple inputs using variants
Variant SubsystemTemplate subsystem containing Subsystem blocks as variant choices
Vector ConcatenateConcatenate input signals of same data type to create contiguous output signal
Waveform GeneratorOutput waveforms using signal notations
Weighted Sample TimeSupport calculations involving sample time
Weighted Sample Time MathSupport calculations involving sample time
While IteratorRepeat execution of a subsystem while a logical condition signal is true
While Iterator SubsystemSubsystem that repeats execution during a simulation time step
WidthOutput width of input vector
Wrap To ZeroSet output to zero if input is above threshold
XY GraphDisplay X-Y plot of signals using MATLAB figure window
Zero-Order HoldImplement zero-order hold of one sample period
Zero-PoleModel system by zero-pole-gain transfer function
Was this topic helpful?