Documentation Center

  • Trial Software
  • Product Updates

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
Arduino Analog Input Measure voltage of analog input pin
Arduino Continuous Servo Write Set shaft speed of continuous rotation servo motor
Arduino Digital Input Get logical value of digital input pin
Arduino Digital Output Set logical value of digital output pin
Arduino PWM Generate PWM waveform on analog output pin
Arduino Serial Receive Get one byte of data from serial port
Arduino Serial Transmit Send buffered data to serial port
Arduino Standard Servo Read Get position of standard servo motor shaft in degrees
Arduino Standard Servo Write Set shaft position of standard servo motor
Arduino TCP/IP Receive Receive TCP/IP message on wired network
Arduino TCP/IP Send Send TCP/IP message from server
Arduino UDP Receive Receive UDP message
Arduino UDP Send Send UDP message to remote interface
Arduino WiFi TCP/IP Receive Receive WiFi TCP/IP message on wireless network
Arduino WiFi TCP/IP Send Send WiFi TCP/IP message from server
Arduino WiFi UDP Receive Receive WiFi UDP message
Arduino WiFi UDP Send Send WiFi UDP message to remote interface
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
BeagleBoard ALSA Audio Capture Capture audio from sound card using ALSA
BeagleBoard ALSA Audio Playback Send audio to sound card for playback using ALSA
BeagleBoard eSpeak Text to Speech Convert text to speech for output on default audio device
BeagleBoard GPIO Read Read logical value of GPIO pin configured as input
BeagleBoard GPIO Write Write logical value of GPIO pin configured as output
BeagleBoard LED Illuminate built-in LED
BeagleBoard SDL Video Display Display video using SDL
BeagleBoard UDP Receive Receive UDP packets over IP network
BeagleBoard UDP Send Send UDP packets over IP network
BeagleBoard V4L2 Video Capture Capture video from USB camera using V4L2
Bias Add bias to input
Bit Clear Set specified bit of stored integer to zero
Bit Concat Concatenates up to 128 input words into a single output
Bit Reduce Performs a selected bit reduction operation (AND, OR, or XOR) on all the bits of the input signal, reducing it to a single-bit result.
Bit Rotate Rotates the input signal left or right by the specified number of bit positions
Bit Set Set specified bit of stored integer to one
Bit Shift Performs a logical or arithmetic shift on the input signal
Bit Slice Returns a field of consecutive bits from the 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
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 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-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 a sequence of input samples in a first in, first out (FIFO) register
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
LEGO MINDSTORMS EV3 Button Detect button press on EV3 brick
LEGO MINDSTORMS EV3 Color Sensor Detect colors, reflected light, or ambient light
LEGO MINDSTORMS EV3 Display Display label and integer on EV3 Display
LEGO MINDSTORMS EV3 Encoder Measure motor rotation in degrees
LEGO MINDSTORMS EV3 Gyro Sensor Measure rate of rotation
LEGO MINDSTORMS EV3 Infrared Sensor Receive signals from EV3 Infrared Beacon
LEGO MINDSTORMS EV3 Motor Control motor power and direction
LEGO MINDSTORMS EV3 Speaker Play tone from EV3 speaker
LEGO MINDSTORMS EV3 Status Light Control status light on EV3 brick
LEGO MINDSTORMS EV3 Touch Sensor Output state of touch sensor
LEGO MINDSTORMS EV3 Ultrasonic Sensor Measure distance from object in centimeters
LEGO MINDSTORMS NXT Acceleration Sensor Measure acceleration along three axes
LEGO MINDSTORMS NXT Battery Measure voltage of battery in NXT brick
LEGO MINDSTORMS NXT Button Output state of button on NXT brick
LEGO MINDSTORMS NXT Color Sensor Measure color or light intensity
LEGO MINDSTORMS NXT Compass Sensor Read magnetic heading of compass sensor
LEGO MINDSTORMS NXT Encoder Measure encoder rotation from NXT Interactive Servo Motor
LEGO MINDSTORMS NXT GPS Sensor Measure latitude and longitude, or heading and distance to GPS position
LEGO MINDSTORMS NXT Gyro Sensor Measure rate of rotation
LEGO MINDSTORMS NXT IR Receiver Sensor Receive infrared signals from LEGO Power Functions IR Speed Remote Control
LEGO MINDSTORMS NXT LCD Display number on single line of NXT LCD screen
LEGO MINDSTORMS NXT Light Sensor Measure light intensity
LEGO MINDSTORMS NXT Motor Set motor speed and stopping action
LEGO MINDSTORMS NXT Receive via Bluetooth Connection Receive data from another NXT brick over Bluetooth
LEGO MINDSTORMS NXT Send via Bluetooth Connection Send data to another NXT brick over Bluetooth
LEGO MINDSTORMS NXT Sound Sensor Measure sound level
LEGO MINDSTORMS NXT Speaker Play tones on speaker in NXT brick
LEGO MINDSTORMS NXT Timer Measure elapsed time from timer in NXT brick
LEGO MINDSTORMS NXT Touch Sensor Output state of touch sensor
LEGO MINDSTORMS NXT Ultrasonic Sensor Measure distance from object in centimeters
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
Overo ALSA Audio Capture Capture audio from sound card using ALSA
Overo ALSA Audio Playback Send audio to sound card for playback using ALSA
Overo eSpeak Text to Speech Convert text to speech for output on default audio device
Overo GPIO Read Read logical value of GPIO pin configured as input
Overo GPIO Write Write logical value of GPIO pin configured as output
Overo LED Illuminate built-in LED
Overo SDL Video Display Display video using SDL
Overo UDP Receive Receive UDP packets over IP network
Overo UDP Send Send UDP packets over IP network
Overo V4L2 Video Capture Capture video from USB camera using V4L2
PandaBoard ALSA Audio Capture Capture audio from sound card using ALSA
PandaBoard ALSA Audio Playback Send audio to sound card for playback using ALSA
PandaBoard eSpeak Text to Speech Convert text to speech for output on default audio device
PandaBoard GPIO Read Read logical value of GPIO pin configured as input
PandaBoard GPIO Write Write logical value of GPIO pin configured as output
PandaBoard LED Illuminate built-in LED
PandaBoard SDL Video Display Display video using SDL
PandaBoard UDP Receive Receive UDP packets over IP network
PandaBoard UDP Send Send UDP packets over IP network
PandaBoard V4L2 Video Capture Capture video from USB camera using V4L2
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
Raspberry Pi ALSA Audio Capture Capture audio from sound card using ALSA
Raspberry Pi ALSA Audio Playback Send audio to sound card for playback using ALSA
Raspberry Pi eSpeak Text to Speech Convert text to speech for output on default audio device
Raspberry Pi GPIO Read Read logical value of GPIO pin configured as input
Raspberry Pi GPIO Write Write logical value of GPIO pin configured as output
Raspberry Pi LED Illuminate built-in LED
Raspberry Pi SDL Video Display Display video using SDL
Raspberry Pi UDP Receive Receive UDP packets over IP network
Raspberry Pi UDP Send Send UDP packets over IP network
Raspberry Pi V4L2 Video Capture Capture video from USB camera using V4L2
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
Samsung GALAXY Android Accelerometer Measure linear acceleration along X, Y and Z axes
Samsung GALAXY Android Ambient Temperature Sensor Measure ambient temperature
Samsung GALAXY Android Audio Capture Capture audio stream from device audio input
Samsung GALAXY Android Audio Playback Play back audio stream using device audio output
Samsung GALAXY Android Camera Record video using front or rear camera
Samsung GALAXY Android Display Show video on device display
Samsung GALAXY Android FromApp Receive data from Android app
Samsung GALAXY Android Gyroscope Measure rotational speed around X, Y, and Z axes
Samsung GALAXY Android Humidity Sensor Measure relative air humidity
Samsung GALAXY Android Light Sensor Measure ambient light
Samsung GALAXY Android Location Sensor Measure GPS latitude and longitude
Samsung GALAXY Android Pressure Sensor Measure atmospheric pressure
Samsung GALAXY Android ToApp Send data to Android app
Samsung GALAXY Android UDP Receive Receive UDP packets
Samsung GALAXY Android UDP Send Send UDP packets
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
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
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?