Blocks

By Category | Alphabetical List

1-D Lookup Table Approximate one-dimensional function
2-D Lookup Table Approximate two-dimensional function
Abs Output absolute value of input
Action Port Implement Action subsystems used in if and switch control flow statements
Add Add or subtract inputs
Algebraic Constraint Constrain input signal to zero
Argument Inport Argument input port for Simulink Function block
Argument Outport Argument output port for Simulink Function block
Assertion Check whether signal is zero
Assignment Assign values to specified elements of signal
Atomic Subsystem Represent system within another system
Backlash Model behavior of system with play
Band-Limited White Noise Introduce white noise into continuous system
Bias Add bias to input
Bit Clear Set specified bit of stored integer to zero
Bit Concat Concatenates up to 128 input words into single output
Bit Reduce AND, OR, or XOR bit reduction on all input signal bits to single bit
Bit Rotate Rotate input signal by bit positions
Bit Set Set specified bit of stored integer to one
Bit Shift Logical or arithmetic shift of input signal
Bit Slice Return field of consecutive bits from input signal
Bitwise Operator Specified bitwise operation on inputs
Block Support Table View data type support for Simulink blocks
Bus Assignment Replace specified bus elements
Bus Creator Create signal bus
Bus Selector Select signals from incoming bus
Bus to Vector Convert virtual bus to vector
Check Discrete Gradient Check that absolute value of difference between successive samples of discrete signal is less than upper bound
Check Dynamic Gap Check that gap of possibly varying width occurs in range of signal's amplitudes
Check Dynamic Lower Bound Check that one signal is always less than another signal
Check Dynamic Range Check that signal falls inside range of amplitudes that varies from time step to time step
Check Dynamic Upper Bound Check that one signal is always greater than another signal
Check Input Resolution Check that input signal has specified resolution
Check Static Gap Check that gap exists in signal's range of amplitudes
Check Static Lower Bound Check that signal is greater than (or optionally equal to) static lower bound
Check Static Range Check that signal falls inside fixed range of amplitudes
Check Static Upper Bound Check that signal is less than (or optionally equal to) static upper bound
Chirp Signal Generate sine wave with increasing frequency
Clock Display and provide simulation time
CodeReuse Subsystem Represent system within another system
Combinatorial Logic Implement truth table
Compare To Constant Determine how signal compares to specified constant
Compare To Zero Determine how signal compares to zero
Complex to Magnitude-Angle Compute magnitude and/or phase angle of complex signal
Complex to Real-Imag Output real and imaginary parts of complex input signal
Concatenate Concatenate input signals of same data type to create contiguous output signal
Configurable Subsystem Represent any block selected from user-specified library of blocks
Constant Generate constant value
Cosine Implement fixed-point sine or cosine wave using lookup table approach that exploits quarter wave symmetry
Coulomb and Viscous Friction Model discontinuity at zero, with linear gain elsewhere
Counter Free-Running Count up and overflow back to zero after reaching maximum value for specified number of bits
Counter Limited Count up and wrap back to zero after outputting specified upper limit
Data Store Memory Define data store
Data Store Read Read data from data store
Data Store Write Write data to data store
Data Type Conversion Inherited Convert from one data type to another using inherited data type and scaling
Data Type Conversion Convert input signal to specified data type
Data Type Duplicate Force all inputs to same data type
Data Type Propagation Set data type and scaling of propagated signal based on information from reference signals
Data Type Scaling Strip Remove scaling and map to built in integer
Dead Zone Dynamic Set inputs within bounds to zero
Dead Zone Provide region of zero output
Decrement Real World Decrease real world value of signal by one
Decrement Stored Integer Decrease stored integer value of signal by one
Decrement Time To Zero Decrease real-world value of signal by sample time, but only to zero
Decrement To Zero Decrease real-world value of signal by one, but only to zero
Delay Delay input signal by fixed or variable sample periods
Demux Extract and output elements of vector signal
Derivative Output time derivative of input
Deserializer1D Convert scalar stream or smaller vectors to vector signal
Detect Change Detect change in signal value
Detect Decrease Detect decrease in signal value
Detect Fall Negative Detect falling edge when signal value decreases to strictly negative value, and its previous value was nonnegative
Detect Fall Nonpositive Detect falling edge when signal value decreases to nonpositive value, and its previous value was strictly positive
Detect Increase Detect increase in signal value
Detect Rise Nonnegative Detect rising edge when signal value increases to nonnegative value, and its previous value was strictly negative
Detect Rise Positive Detect rising edge when signal value increases to strictly positive value, and its previous value was nonpositive
Difference Calculate change in signal over one time step
Digital Clock Output 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 Derivative Compute discrete-time derivative
Discrete Filter Model Infinite Impulse Response (IIR) filters
Discrete FIR Filter Model FIR filters
Discrete PID Controller (2 DOF) Simulate continuous- or discrete-time two-degree-of-freedom PID controllers
Discrete PID Controller Simulate continuous- or discrete-time PID controllers
Discrete State-Space Implement discrete state-space system
Discrete Transfer Fcn Implement discrete transfer function
Discrete Zero-Pole Model system defined by zeros and poles of discrete transfer function
Discrete-Time Integrator Perform discrete-time integration or accumulation of signal
Display Show value of input
Divide Divide one input by another
DocBlock Create text that documents model and save text with model
Dot Product Generate dot product of two vectors
Dual Port RAM Dual port RAM with two output ports
Dual Rate Dual Port RAM Dual Port RAM that supports two rates
Enable Add enabling port to system
Enabled and Triggered Subsystem Represent subsystem whose execution is enabled and triggered by external input
Enabled Subsystem Represent subsystem whose execution is enabled by external input
Enumerated Constant Generate enumerated constant value
Environment Controller Create branches of block diagram that apply only to simulation or only to code generation
Extract Bits Output selection of contiguous bits from input signal
Fcn Apply specified expression to input
Find Find nonzero elements in array
First-Order Hold Implement first-order sample-and-hold
Fixed-Point State-Space Implement discrete-time state space
Floating Scope Display signals generated during simulation
For Each Enable blocks inside For Each Subsystem to process elements or subarrays of a mask parameter or input signal independently
For Each Subsystem Repeatedly perform algorithm on each element or subarray of input signal and concatenate results
For Iterator Repeatedly execute contents of subsystem at current time step until iteration variable exceeds specified iteration limit
For Iterator Subsystem Represent subsystem that executes repeatedly during simulation time step
From File Read data from MAT-file
From Accept input from Goto block
From Workspace Read data from workspace
Function Caller Call Simulink or Stateflow function
Function-Call Feedback Latch Break feedback loop involving data signals between function-call blocks
Function-Call Generator Execute function-call subsystem specified number of times at specified rate
Function-Call Split Provide junction for splitting function-call signal
Function-Call Subsystem Represent subsystem that can be invoked as function by another block
Gain Multiply input by constant
Goto Pass block input to From blocks
Goto Tag Visibility Define scope of Goto block tag
Ground Ground unconnected input port
HDL Counter Free-running or count-limited hardware counter
HDL FIFO Stores sequence of input samples in first in, first out (FIFO) register
HDL Reciprocal Calculate reciprocal using Newton-Raphson approximation method
Hit Crossing Detect crossing point
IC Set initial value of signal
If Action Subsystem Represent subsystem whose execution is triggered by If block
If Model if-else control flow
Increment Real World Increase real world value of signal by one
Increment Stored Integer Increase stored integer value of signal by one
Index Vector Switch output between different inputs based on value of first input
Inport Create input port for subsystem or external input
Integrator Limited Integrate signal
Integrator Integrate signal
Interpolation Using Prelookup Use precalculated index and fraction values to accelerate approximation of N-dimensional function
Interpreted MATLAB Function Apply MATLAB function or expression to input
Interval Test Dynamic Determine if signal is in specified interval
Interval Test Determine if signal is in specified interval
Level-2 MATLAB S-Function Use Level-2 MATLAB S-function in model
Logical Operator Perform specified logical operation on input
Lookup Table Dynamic Approximate one-dimensional function using dynamic table
Magnitude-Angle to Complex Convert magnitude and/or a phase angle signal to complex signal
Manual Switch Switch between two inputs
Math Function Perform mathematical function
MATLAB Function Include MATLAB code in models that generate embeddable C code
MATLAB System Include System object in model
Matrix Concatenate Concatenate input signals of same data type to create contiguous output signal
Memory Output input from previous time step
Merge Combine multiple signals into single signal
MinMax Running Resettable Determine minimum or maximum of signal over time
MinMax Output minimum or maximum input value
Model Info Display model properties and text in model
Model Include model as block in another model
Model Variants Include model as block in another model
Multiport Switch Choose between multiple block inputs
Mux Combine several input signals into vector
n-D Lookup Table Approximate N-dimensional function
Nonvirtual Subsystem Represent system within another system
Outport Create output port for subsystem or external output
Permute Dimensions Rearrange dimensions of multidimensional array dimensions
PID Controller (2 DOF) Simulate continuous- or discrete-time two-degree-of-freedom PID controllers
PID Controller Simulate continuous- or discrete-time PID controllers
Polynomial Perform evaluation of polynomial coefficients on input values
Prelookup Compute index and fraction for Interpolation Using Prelookup block
Probe Output signal attributes, including width, dimensionality, sample time, and complex signal flag
Product of Elements Copy or invert one scalar input, or collapse one nonscalar input
Product Multiply and divide scalars and nonscalars or multiply and invert matrices
Pulse Generator Generate square wave pulses at regular intervals
Quantizer Discretize input at specified interval
Ramp Generate constantly increasing or decreasing signal
Random Number Generate normally distributed random numbers
Rate Limiter Dynamic Limit rising and falling rates of signal
Rate Limiter Limit rate of change of signal
Rate Transition Handle transfer of data between blocks operating at different rates
Real-Imag to Complex Convert real and/or imaginary inputs to complex signal
Reciprocal Sqrt Calculate square root, signed square root, or reciprocal of square root
Relational Operator Perform specified relational operation on inputs
Relay Switch output between two constants
Repeating Sequence Interpolated Output discrete-time sequence and repeat, interpolating between data points
Repeating Sequence Generate arbitrarily shaped periodic signal
Repeating Sequence Stair Output and repeat discrete time sequence
Resettable Delay Delay input signal by variable sample period and reset with external signal
Reshape Change dimensionality of signal
Rounding Function Apply rounding function to signal
S-Function Builder Create S-function from C code that you provide
S-Function Include S-function in model
Saturation Dynamic Bound range of input
Saturation Limit range of signal
Scope and Floating Scope Display signals generated during simulation
Scope Display signals generated during simulation
Second-Order Integrator Limited Integrate input signal twice
Second-Order Integrator Integrate input signal twice
Selector Select input elements from vector, matrix, or multidimensional signal
Serializer1D Convert vector signal to scalar or smaller vectors
Shift Arithmetic Shift bits or binary point of signal
Sign Indicate sign of input
Signal Builder Create and generate interchangeable groups of signals whose waveforms are piecewise linear
Signal Conversion Convert signal to new type without altering signal values
Signal Generator Generate various waveforms
Signal Specification Specify desired dimensions, sample time, data type, numeric type, and other attributes of signal
Signed Sqrt Calculate square root, signed square root, or reciprocal of square root
Simple Dual Port RAM Dual port RAM with single output port
Simulink Function Function definition used by Function Caller block or Stateflow chart
Sine Implement fixed-point sine or cosine wave using lookup table approach that exploits quarter wave symmetry
Sine Wave Function Generate sine wave, using external signal as time source
Sine Wave Generate sine wave, using simulation time as time source
Sine, Cosine Implement fixed-point sine or cosine wave using lookup table approach that exploits quarter wave symmetry
Single Port RAM Single port RAM
Slider Gain Vary scalar gain using slider
Sqrt Calculate square root, signed square root, or reciprocal of square root
Squeeze Remove singleton dimensions from multidimensional signal
State-Space Implement linear state-space system
Step Generate step function
Stop Simulation Stop simulation when input is nonzero
Subsystem Represent system within another system
Subtract Add or subtract inputs
Sum of Elements Add or subtract inputs
Sum Add or subtract inputs
Switch Case Action Subsystem Represent subsystem whose execution is triggered by Switch Case block
Switch Case Implement C-like switch control flow statement
Switch Switch output between first input and third input based on value of second input
Tapped Delay Delay scalar signal multiple sample periods and output all delayed versions
Terminator Terminate unconnected output port
Timed-Based Linearization Generate linear models in base workspace at specific times
To File Write data to file
To Workspace Write data to MATLAB workspace
Transfer Fcn Direct Form II Implement Direct Form II realization of transfer function
Transfer Fcn Direct Form II Time Varying Implement time varying Direct Form II realization of transfer function
Transfer Fcn First Order Implement discrete-time first order transfer function
Transfer Fcn Lead or Lag Implement discrete-time lead or lag compensator
Transfer Fcn Real Zero Implement discrete-time transfer function that has real zero and no pole
Transfer Fcn Model linear system by transfer function
Transport Delay Delay input by given amount of time
Trigger Add trigger port to model or subsystem
Trigger-Based Linearization Generate linear models in base workspace when triggered
Triggered Subsystem Represent subsystem whose execution is triggered by external input
Trigonometric Function Specified trigonometric function on input
Unary Minus Negate input
Uniform Random Number Generate uniformly distributed random numbers
Unit Delay Enabled External IC Delay signal one sample period, if external enable signal is on, with external initial condition
Unit Delay Enabled Resettable External IC Delay signal one sample period, if external enable signal is on, with external Boolean reset and initial condition
Unit Delay Enabled Resettable Delay signal one sample period, if external enable signal is on, with external Boolean reset
Unit Delay Enabled Delay signal one sample period, if external enable signal is on
Unit Delay External IC Delay signal one sample period, with external initial condition
Unit Delay Resettable External IC Delay signal one sample period, with external Boolean reset and initial condition
Unit Delay Resettable Delay signal one sample period, with external Boolean reset
Unit Delay Delay signal one sample period
Unit Delay With Preview Enabled Resettable External RV Output signal and signal delayed by one sample period, if external enable signal is on, with external RV reset
Unit Delay With Preview Enabled Resettable Output signal and signal delayed by one sample period, if external enable signal is on, with external reset
Unit Delay With Preview Enabled Output signal and signal delayed by one sample period, if external enable signal is on
Unit Delay With Preview Resettable External RV Output signal and signal delayed by one sample period, with external RV reset
Unit Delay With Preview Resettable Output signal and signal delayed by one sample period, with external reset
Unresolved Link Indicate unresolved reference to library block
Variable Integer Delay Delay input signal by variable sample period
Variable Time Delay Delay input by variable amount of time
Variable Transport Delay Delay input by variable amount of time
Variant Subsystem Represent a subsystem with multiple subsystems
Vector Concatenate Concatenate input signals of same data type to create contiguous output signal
Weighted Sample Time Math Support calculations involving sample time
Weighted Sample Time Support calculations involving sample time
While Iterator Repeatedly execute contents of subsystem at current time step while condition is satisfied
While Iterator Subsystem Represent subsystem that executes repeatedly while condition is satisfied during simulation time step
Width Output width of input vector
Wrap To Zero Set output to zero if input is above threshold
XY Graph Display X-Y plot of signals using MATLAB figure window
Zero-Order Hold Implement zero-order hold of one sample period
Zero-Pole Model system by zero-pole-gain transfer function
Was this topic helpful?