Documentation

New Features

MATLAB

Desktop

  • Live Editor: Create live functions with richly formatted documentation, including equations and images
  • Live Editor: Debug live functions and scripts
  • Live Editor: Add sliders and drop-down lists to control variable values in a live script
  • Live Editor: Sort table data interactively
  • Live Editor: Create a table of contents and add formatted code examples​
  • Live Editor: Select and edit a rectangular area of code
  • Add-Ons Explorer: Browse by category to discover convenient, helpful add-ons

Mathematics

  • graph and digraph Objects: Work with multigraphs that have multiple edges between two nodes
  • GraphPlot Object: Visualize graphs with additional options for 'force', 'force3', and 'circle' layouts
  • polyshape Objects: Analyze polygons with turningdist, nearestvertex, and overlaps functions
  • polybuffer Function: Create buffer around points or lines

Graphics

  • Axes Object: View axes at small size with improved layout, limit selection, and font scaling
  • Axes Object: Map data values to colormap using linear or logarithmic scale
  • Legend Object: Create legends with multiple columns
  • heatmap Function: Zoom and pan data, display data tips, and sort rows and columns interactively
  • geobubble Function: Explore with interactive data tips and a scale bar​ ​

Data Import and Export

  • readtable Function: Specify the number of rows to read from a text file using import options
  • readtable Function: Easily manage prefixes and suffixes from data using import options
  • preview Function: Preview first 8 rows of a table in a file without importing the full table
  • imageDatastore Function: Work with millions of images with improved memory usage and performance
  • VideoReader Function: Read video files faster on all platforms

Data Analysis

  • groupsummary Function: Group and discretize data for summary operations on table and timetable variables
  • Table and Timetable Variables: Add, delete, and rearrange column-oriented variables with the functions addvars, removevars, movevars, splitvars, mergevars, rows2vars, and inner2outer
  • Preallocated Tables and Timetables: Initialize table and timetable variables so that they have specified sizes and data types
  • Regular Timetables: Create regularly spaced timetables using a time step or sampling rate
  • retime and synchronize Functions: Synchronize timetables to a time step or sampling rate that you specify
  • duration Arrays: Create duration arrays from text that represents elapsed times
  • normalize Function: Normalize array, table, and timetable data
  • tall Arrays: Operate on tall arrays with more functions, including smoothdata, find, and isoutlier

App Building

  • App Designer: Create deployed web apps using MATLAB Compiler
  • App Designer: Add and configure tree components on the App Designer canvas
  • App Testing Framework: Author automated tests for App Designer apps
  • Figure Objects: Maximize and minimize figures programmatically
  • uitable Function: Specify data as table array
  • uidatepicker Function: Add date selection controls to apps
  • uiprogressdlg Function: Create modal in-app progress dialog boxes to apps

Performance

  • Startup: Increased speed of MATLAB startup time
  • Execution Engine: Execute tight loops with scalar math faster
  • Execution Engine: Improved performance for common programming patterns

Hardware Support

  • Raspberry Pi: Support for Raspberry Pi Zero W board
  • MATLAB Online: Acquire live images from USB webcams in MATLAB Online

Advanced Software Development

  • Tab Completion: Describe your function syntaxes for custom tab completion and other contextual suggestions
  • Unit Testing Framework: Run tests from the MATLAB Editor toolstrip
  • App Testing Framework: Author automated tests for App Designer apps
  • matlab.net.http Package: Stream data to and from a web service and handle forms and multipart messages
  • C++ MEX Interface: Access MATLAB data and objects easier from C++

Release details

Simulation Analysis and Performance

  • Simulation Data Inspector in the Live Editor: Add, view, and edit Simulation Data Inspector plots directly in the Live Editor
  • Simulation Pacing: Run simulations at wall clock speed or other specified pace for improved visualization
  • Controllable Sample Time: Adjust the time interval for block execution during the simulation, for example, to vary the sampling frequency
  • Subsystem Domain Specification: Improve your solver performance and code by specifying subsystems and model blocks to be discrete
  • Diagnostic Handling: Directly fix errors and warnings from diagnostic messages, such as algebraic loops, as well as manage suppressed diagnostics

Simulink Editor

  • Predictive Quick Insert: Connect a recommended block to an existing block in your model
  • Sample Time Legend: Interactively identify rates in your model through highlighting with the new Sample Time Legend
  • Port Connection Cues: Highlight compatible ports as you draw a signal line
  • Model Notes: Add text or web links to describe any model layer
  • Attribute Mismatch Detection: Find mismatches between components related to data type, complexity, and dimensions while editing your model

Component-Based Modeling

  • Variant Signals in Buses: Use variant conditions to dynamically add and remove bus elements

Project and File Management

  • Impact Analysis: Easily identify dependencies and impacts of block or requirement changes in your Simulink project​
  • Simulink​ Project Upgrade: Streamline upgrade to a new release by checking compatibilities of MATLAB code files in your project​

Data Management

  • Model Design Data: Use multiple sources for your design data by allowing Data Dictionary to access the base workspace
  • Undefined Variable Detection: Get instant notifications about missing variables while editing your model

Block Enhancements

  • Hit Crossing Messages: Create Messages for debugging and send them to Stateflow and SimEvents to indicate events in Simulink for hybrid system modeling
  • Strings: Design embedded systems with native support of strings

Release details

Aerospace Blockset

  • FlightGear Interface: Includes support for Version 2017.3 through flight simulator blocks​

Release details

Aerospace Toolbox

  • FlightGear Interface: Includes support for Version 2017.3 through flight simulator objects​

Release details

Antenna Toolbox

  • SINR Visualization: Visualize transmitter site signal-to-interference-plus-noise ratio (SINR) on a map
  • Antenna Site Visualization: Visualize line-of-sight path between transmitter/receiver sites and clustering of adjacent sites
  • Meshing Engine for Metal Surfaces: Improved performance for analysis of metal antennas
  • E-Shaped Patch, Triangular Patch, LPDA, and J-Dipole: Design, visualize, and analyze four additional printed antennas with parameterized geometry
  • Corner Reflector: Design, visualize, and analyze an antenna in the presence of an additional reflector element with parameterized geometry

Release details

Audio System Toolbox

  • Impulse Response Measurer App: Interactively measure impulse and frequency responses of acoustic systems
  • MIDI Message Interface: Send and receive MIDI messages of any type in MATLAB
  • Voice Activity Detection: Automate the detection of speech content in audio signals
  • Feature Extraction: Compute features of audio signals, such as pitch and MFCC
  • Sound Pressure Level (SPL) Metering: Measure the level of acoustic signals in decibels relative to a standard perceptual reference

Release details

Automated Driving System Toolbox

  • Driving Scenario Designer: Interactively define actors and driving scenarios to test controllers and sensor fusion algorithms
  • Path Planning: Plan driving paths using an RRT* path planner and costmap
  • Streaming Geographic Map Display: Visualize a geographic route on a map
  • Ground Truth Pixel Labeling: Interactively label individual pixels in video data
  • Ground Truth Label Attributes: Organize and classify ground truth labels using attributes and sublabels
  • Lidar Segmentation: Quickly segment 3-D point clouds from lidar
  • ACC Reference Application: Use a reference model to simulate and test adaptive cruise controller (ACC) systems

Release details

Bioinformatics Toolbox

  • Next-Generation Sequencing: Import BAM files that use the new Concise Idiosyncratic Gapped Alignment Report (CIGAR) format​
  • Next-Generation Sequencing: Map reads using the Bowtie2 software

Release details

Communications System Toolbox

  • ​APSK Modulator and Demodulator: Simulate amplitude phase shift keying modulation for satellite applications
  • Turbo Product Code Encoder and Decoder: Simulate block product codes for defense and satellite communications
  • ​Massive MIMO Example: Simulate an end-to-end MIMO link using hybrid beamforming

Release details

Computer Vision System Toolbox

  • Lidar Segmentation: Segment lidar point clouds using Euclidean distance
  • Lidar Registration: Register multiple lidar point clouds using normal distributions transform (NDT)
  • Image Labeler App: Mark foreground and background for pixel labeling
  • Fisheye Calibration: Interactively calibrate fisheye lenses using the Camera Calibrator app
  • Stereo Baseline Estimation: Estimate baseline of a stereo camera with known intrinsic parameters

Release details

Control System Toolbox

  • Particle Filter Simulink Block: Estimate states of nonlinear systems for online tracking and control system design

Release details

DO Qualification Kit (for DO-178)

  • Qualification Artifacts: Qualify R2018a versions of supported products
  • Polyspace Bug Finder and Simulink Code Inspector: Introduce support artifacts for TQL-5

Release details

DSP System Toolbox

  • Frequency Input Mode for Spectrum Analyzer: Display, measure, and analyze frequency-domain signals in MATLAB and Simulink
  • Efficiency-Optimized Digital Filters: Simulate select digital filters faster in MATLAB and Simulink by leveraging additional parallel optimizations
  • Complex Bandpass Decimation: Extract a frequency subband using a one-sided (complex) bandpass decimator in MATLAB and Simulink
  • Frequency-Domain Adaptive Filter Block: Simulate adaptive FIR filters requiring a large number of taps
  • Bit-Natural HDL-Optimized FFT: Return data in bit-natural order from frame-based FFT/IFFT (Requires an HDL Coder license for code generation)​​

Release details

Data Acquisition Toolbox

  • Data Acquisition SDK: Add digital I/O support to custom adaptors that interface to third-party vendors and devices​

Release details

Database Toolbox

  • Neo4j Graph Database Upgrade: Write a directed graph to a Neo4j database, and create, update, and delete nodes and relationships
  • SQL-Speaking Functions: Read and write data and perform joins on database tables directly from MATLAB without writing SQL queries

Release details

Datafeed Toolbox

  • Bloomberg Data Return Formatting: Set new properties to control output data format
  • Thomson Reuters Tick History Interface: Access historical and intraday market data

Release details

Econometrics Toolbox

  • Econometric Modeler App: Perform time series analysis, specification testing, modeling, and diagnostics

Release details

Embedded Coder

Model Architecture and Design

  • Embedded Coder Dictionary: Create custom code generation definitions for data and functions
  • AUTOSAR Release 4.3: Import and export AUTOSAR XML schema version 4.3

Data, Function, and File Definition

  • Function-Prototype Control: Configure step function name with void void interface
  • Local Storage Class: Preserve local variables with Localizable storage class

Code Generation

  • Code Perspective: Customize Simulink desktop for code generation workflows

Deployment

  • TI C2000 IPC Block: Support for Inter-Processor Communications ​​for F2837xD​ in TI C2000 Support Package​

Performance

  • Single Instruction, Multiple Data (SIMD) Intrinsics: Generate code with optimized load and store operations for use with Intel processors with SSE/AVX support

Release details

Financial Instruments Toolbox

  • ​Vanilla European Options: Compute prices and sensitivities using Heston, Bates, and Merton76 models with FFT and numerical integration
  • ​​Cox-Ingersoll-Ross Lattice Trees: Calculate prices and sensitivities of bonds, caps, floors, swaps, and options​​
  • Asian Options: Use ​H​aug, Haug, Margrabe model for discrete arithmetic fixed Asian options and Turnbull-Wakeman model for continuous arithmetic fixed options​​​​​

Release details

Financial Toolbox

  • Credit Scorecards: Bin creditscorecard data using supervised binning algorithms, including merge and split​​​
  • Portfolio Management: Improve performance for estimations of efficient frontiers and portfolios
  • Sharpe Ratio of Portfolio: Estimate the Sharpe ratio of portfolio weights given custom portfolio weights
  • Portfolio Management: Input table and timetable objects for estimateAssetMoments, setScenarios, and simulateNormalScenariosByData
  • Financial Time Series: Input table and timetable objects for technical indicators and financial charts

Release details

Fixed-Point Designer

  • Lookup table optimization: Approximate functions using a lookup table and optimize existing lookup tables to minimize RAM usage
  • Data type optimization: Automatically select and apply heterogeneous data types for your system under design, optimizing bit width.

Release details

GPU Coder

  • Directed Acyclic Graph (DAG) Networks: Generate CUDA code for deep learning networks with DAG topology
  • Deep Learning Layers: Generate CUDA code for popular networks such as GoogLeNet, ResNet, and SegNet
  • TensorRT Support: Generate code that takes advantage of NVIDIA deep learning inference optimizer and run time
  • Multi-Platform Deep Learning Targeting: Deploy deep learning networks to Intel and ARM processors

Release details

HDL Coder

  • Matrix Support: Generate HDL code directly from two-dimensional matrix data types and operations
  • Critical Path Estimation with Native Floating Point: Report critical path for designs with single-precision floating-point operations
  • Line-Level Traceability: Navigate directly between Simulink blocks and corresponding lines of generated HDL code
  • AXI4-Stream for Intel FPGA: Generate IP cores with the AXI4-Stream interface targeting Intel FPGAs
  • Intel SoC Reference Design: Target the Intel Arria 10 SoC Development Kit with DDR4 external memory access

Release details

HDL Verifier

  • SystemVerilog Assertions: Generate SystemVerilog assertions from the DPI-C Assertion block
  • FPGA-in-the-Loop Support for Microsemi: Perform FPGA-in-the-loop simulation using Microsemi SmartFusion2 and Polarfire development kits
  • FPGA Data Capture Improvements: Capture multiple windows

Release details

IEC Certification Kit (for ISO 26262 and IEC 61508)

  • Qualification and Certification Artifacts: Qualify R2018a versions of supported products
  • IEC Certification Kit Reference Workflow: Introduce an integrated workflow document to cover the full Model-Based Design lifecycle for ISO 26262, IEC 61508, EN 50128, and IEC 62304 standards

Release details

Image Processing Toolbox

  • Image Segmenter: Segment images interactively using new techniques including local graph cut ​​
  • Edge-Aware Filtering: Smooth images and reduce noise while preserving edge sharpness with bilateral filtering and anisotropic ​diffusion filtering ​​​​​
  • montage: Display multiple images from ImageDatastore object, and specify size of the image thumbnails displayed
  • Image Morphology: Perform morphological operations on 3-D volumes, and perform skeletonization on all objects in 2-D image or 3-D binary volume​
  • Performance: Improved performance in functions including 3-D imwarp, 3-D imfilter​​, entropyfilt, ordfilt2, medfilt2, and bwmorph

Release details

Instrument Control Toolbox

  • VISA Support: Communicate with instruments using Rohde & Schwarz R&S VISA
  • UDP and TCP/IP Communication: Send and receive data with more flexibility in Simulink using the expanded configuration options found in the UDP and TCP/IP client blocks

Release details

LTE HDL Toolbox

  • TDD Support for MIB Recovery Reference Application: Recover master information block data from time-division duplex LTE signals
  • 5G Filtered OFDM Modulation Example: Implement a filtered orthogonal frequency division multiplexing transmitter in hardware
  • ​Gold Sequence Generator Block: Generate LTE-specific Gold sequences for channel estimation and descrambling​
  • ​OFDM Demodulator Block: Demodulate orthogonal frequency division multiplexing symbols according to the LTE standard​

Release details

LTE System Toolbox

  • ​NB-IoT Support: Model the narrowband Internet of Things (NB-IoT) transport and physical downlink shared channel​
  • ​3GPP TR 36.873 3-D Channel Model: Model 3-D propagation conditions​​
  • User Equipment (UE) Detection Example: Detect UE IDs by analyzing an LTE downlink signal​
  • Simulink Example: Model a physical downlink shared channel (PDSCH) throughput conformance test using Simulink​
  • 5G Library: Simulate 3GPP 5G radio technologies with new channel coding schemes (LDPC and Polar coding) and radio waveforms with variable subcarrier spacing​

Release details

MATLAB Coder

  • Row-Major Array Layout: Simplify interfacing generated code with C environments by storing arrays in row-major layout
  • N-Dimensional Indexing: Enhance readability by preserving array dimensions in generated code
  • Sparse Matrices: Enable more efficient computation by using sparse matrices in generated code
  • New Code Generation Report: View more information and navigate through code generation results more easily
  • MEX Profiling: See execution times of generated MEX functions in MATLAB Profiler
  • Delete Method: Call clean-up code automatically when handle classes are deleted in generated code
  • Statistics and Machine Learning Toolbox Code Generation: Generate code for distance calculation on vectors and matrices, and for prediction by using k-nearest neighbor with Kd-tree search and nontree ensemble models

Release details

MATLAB Compiler

  • Web Apps: Run MATLAB App Designer apps in a web browser

Release details

MATLAB Distributed Computing Server

  • Parfeval callbacks: New afterAll and afterEach methods for parallel futures
  • Slurm support: Slurm is a fully supported scheduler
  • Support for NVIDIA Volta: Update to CUDA 9, support for Volta class GPUs
  • Improved file mirroring: Performance of file mirroring for generic scheduler integration
  • ​Parfor performance improvements: More efficient broadcast variables in parfor for non-local clusters

Release details

MATLAB Production Server

  • RESTful API for Service Discovery: Discover MATLAB functions deployed on MATLAB Production Server

Release details

Mapping Toolbox

  • geotiffwrite function: Export data containing more than 4 GB in BigTIFF format​

Release details

Model Predictive Control Toolbox

  • ADAS Blocks: Design, simulate, and implement adaptive cruise control and lane-keeping algorithms

Release details

Model-Based Calibration Toolbox

  • Calibration Templates: Automatically rerun calibration optimization and table fills when you update models
  • Powertrain Blockset Integration: Use measured data to calibrate and generate tables for Powertrain Blockset mapped engines
  • Simulink Integration: Export lookup tables to the Simulink model workspace
  • Optimization: Streamlined setup and improved modal optimization
  • Gaussian Process Model: Improved model fits for large data sets

Release details

Neural Network Toolbox

  • Long Short-Term Memory (LSTM) Networks: Solve regression problems with LSTM networks and learn from full sequence context using bidirectional LSTM layers
  • Deep Learning Optimization: Improve network training using Adam, RMSProp, and gradient clipping
  • Deep Learning Data Preprocessing: Read data and define preprocessing operations efficiently for training and prediction
  • Deep Learning Layer Validation: Check layers for validity, GPU compatibility, and correctly defined gradients
  • Directed Acyclic Graph (DAG) Networks: Accelerate DAG network training using multiple GPUs and compute intermediate layer activations

Release details

Optimization Toolbox

  • intlinprog Performance: Solve problems faster with new branching methods
  • solve Initial Point: Warm-start branch-and-bound when solving mixed-integer linear programs in the problem-based workflow

Release details

Parallel Computing Toolbox

  • Parfeval callbacks: New afterAll and afterEach methods for parallel futures
  • Slurm support: Slurm is a fully supported scheduler
  • Support for NVIDIA Volta: Update to CUDA 9, support for Volta class GPUs
  • Improved file mirroring: Performance of file mirroring for generic scheduler integration
  • ​Parfor performance improvements: More efficient broadcast variables in parfor for non-local clusters

Release details

Partial Differential Equation Toolbox

  • Structural Analysis: Solve linear transient dynamic problems using direct time integration
  • Modal Analysis: Find natural frequencies and mode shapes
  • Mesh Analysis: Assess element quality, measure element area or volume, and find nodes and elements
  • Geometry from Mesh: Create multidomain geometry from nodes and elements

Release details

Phased Array System Toolbox

  • Waveform Library: Switch transmit waveforms on PRI basis during simulation
  • PRF Agility: Dynamically select PRF during simulation for STAP and clutter
  • Array Pattern Scaling: Apply field or directivity pattern to radiated or collected signals

Release details

Polyspace Bug Finder

Analysis Setup

  • AUTOSAR Support: Set up Polyspace multitasking configuration automatically from an AUTOSAR description
  • MATLAB Coder Support: Run Polyspace on C/C++ code generated from MATLAB code without additional setup
  • Compiler Support: Set up Polyspace analysis easily for code compiled with Texas Instruments, IAR or CodeWarrior compilers

Analysis Results

  • CERT C Support: Check for information leakage, invalid environment pointers, and other rules from the CERT C Coding Standard
  • Cryptography Checkers: Check for security vulnerabilities such as incorrect use of public key cryptography routines
  • MISRA C++ Support: Check for overriding of standard library functions, missing const qualifiers, and other MISRA C++ rules

Reviewing Results

  • Concurrency Modeling: View all tasks and interrupts extracted from code and Polyspace configuration in one view

Release details

Polyspace Code Prover

Verification Setup

  • AUTOSAR Support: Set up modular Polyspace analysis for AUTOSAR Software Components automatically
  • MATLAB Coder Support: Run Polyspace on C/C++ code generated from MATLAB code without additional setup
  • Compiler Support: Set up Polyspace analysis easily for code compiled with Texas Instruments, IAR or CodeWarrior compilers

Verification Results

  • AUTOSAR Support: Check for run-time mismatch between AUTOSAR specifications and code implementation
  • MISRA C++ Support: Check for overriding of standard library functions, missing const qualifiers and other MISRA C++ rules

Reviewing Results

  • Concurrency Modeling: View all tasks and interrupts extracted from code and Polyspace configuration in one view

Release details

Polyspace Products for Ada

  • Concurrency Modelling: View all tasks and interrupts extracted from code and Polyspace configuration in one view

Release details

Powertrain Blockset

  • Engine Data Import: Use engine test data to calibrate mapped engines in CI and SI engine dynamometer reference applications
  • Low-Pressure EGR: Default SI engine includes low-pressure exhaust gas recirculation
  • Gear Shift Schedule: Use Drive Cycle block to specify gear shift schedule
  • Transmission Temperature Dependency: Include effects of oil temperature when calculating efficiency loss in transmission blocks
  • Engine Torque Table: Mapped CI Engine block now uses either engine torque or injected fuel mass lookup table

Release details

Predictive Maintenance Toolbox

  • Survival, similarity, and time-series models for remaining useful life (RUL) estimation
  • Time, frequency, and time-frequency domain feature extraction methods for designing condition indicators
  • Managing and labeling of sensor data imported from local files, Amazon S3, Windows Azure Blob Storage, and Hadoop Distributed File System
  • Managing and labeling of simulated machine data from Simulink models
  • Examples for developing predictive maintenance algorithms for motors, gearboxes, batteries, and other machines

Release details

RF Blockset

  • Power Amplifier Model: Model wideband and narrowband power amplifiers capturing nonlinearity and memory effects based on input/output device characteristics
  • Generalized Power Amplifier Model: Increase the accuracy of amplifier models using leading and lagging memory cross-terms
  • Testbench Measurement Library: Measure gain, noise figure, IP2, and IP3 characteristics of an RF network
  • RF Modulator and Demodulator Systems: Model RF modulators and demodulators for homodyne and heterodyne systems, including RF impairments, image rejection, and channel selection filters
  • 'Edit System' Button for System Library Blocks: Edit and customize system models of modulators and demodulators
  • SPnT Switch: Model single pole multiple throw switching networks
  • Circuit Envelope Concepts: Understand basic circuit envelope concepts and explore additional application examples in expanded documentation

Release details

RF Toolbox

  • Smith and Polar Plots in RF Budget Analyzer App: Visualize input and output impedances, forward gain budget, and reverse isolation across signal bandwidth
  • Improved smithplot Function: Visualize network parameters for rfckt, rfdata, nport, and sparameters objects and support the circle function

Release details

Risk Management Toolbox

  • ​Corporate Credit Risk: Calculate standard deviation and value-at-risk contributions for each counterparty in a credit portfolio

Release details

Robotics System Toolbox

  • Manipulator Algorithm Blocks: Compute rigid body tree kinematics and dynamics in Simulink
  • Lidar-Based SLAM: Localize robots and build map environments using lidar sensors
  • Pose Graph Data Structure and Optimization: Represent and optimize 2-D and 3-D pose graphs
  • 3-D Occupancy Maps: Map 3-D environments using efficient octree data structure
  • Enhanced Performance for rosbag Logfiles: Load rosbags faster and extract message data as structures

Release details

Signal Processing Toolbox

  • Signal Analyzer App: Preprocess signals by smoothing and filtering
  • Signal Analyzer App: Detect transients and perform time-frequency analysis using scalogram view
  • One-Step Filtering: Filter signals using lowpass, highpass, bandpass, and bandstop responses
  • Time-Frequency Analysis: Perform empirical mode decomposition, Hilbert-Huang transform, and instantaneous frequency estimation
  • Time-Frequency Analysis: Estimate kurtogram, spectral kurtosis, and spectral entropy
  • poctave Function: Compute 1/N octave spectra and perform octave smoothing
  • Rotating Machinery: Estimate and track rotational speed from vibration signals
  • Deep Learning Example: Classify signals using long short-term memory networks

Release details

SimBiology

  • Parameterized Dosing: Specify dosing properties using model parameters for applications such as scaling dosing by body weight
  • Adaptive Dosing: Change the behavior of the dose during a simulation in response to the values of model states or parameters

Release details

SimEvents

  • Entity Store Block: Hold unordered entities in this block that serves as a container or bin
  • Entity Selector Block: Select entities using a reference entity
  • Hit Crossing Messages: Send messages to SimEvents to indicate events in Simulink for hybrid system modeling

Release details

Simscape

Simscape Language

  • tablelookup Usability Improvements: Use enumerations for interpolation and extrapolation options

Foundation Library and Simulation

  • Moist Air Domain and Block Library: Model HVAC and environmental control systems
  • Frequency and Time Formulation: Increase simulation speed for systems with a single base frequency
  • Partitioning Local Solver: Increase real-time simulation speed
  • twoPhaseFluidTables Function with CoolProp Support: Generate fluid property tables from CoolProp software
  • Live-Stream Data Logging: Display logged data from Simscape network in Simulation Data Inspector while simulating

Release details

Simscape Driveline

  • 10-Speed Block: Model a 10R80 10-speed automatic transmission
  • Vehicle Body Block with Pitch Dynamics: Model effect of suspension on vehicle pitch
  • Generic Engine Block Fuel Consumption Option: Speed up simulation when you specify zero-fuel consumption
  • Pulley Block Improvements: Generate robust results over a wider range of models that contain pulley blocks

Release details

Simscape Electronics

  • Switched Reluctance Motor block: Model a three-phase switched reluctance motor
  • FEM-Parameterized PMSM with d-q Parameterization: Define PMSM behavior using d- and q-axis flux linkage
  • Battery Block with Charge Dynamics: Model charge dynamics with an equivalent circuit
  • Battery Block (Table-Based) Block: Define no-load voltage and terminal resistance based on state of charge and temperature
  • Passive Device Blocks: Model eddy current losses and varistors

Release details

Simscape Fluids

  • Orifice ISO 6358 (G) and Variable Orifice ISO 6358 (G) Blocks: Model flow restrictions per ISO standard
  • Centrifugal Pump (TL) Block: Model centrifugal pump with thermal liquid working fluid
  • Thermal Liquid Properties (TL) Block: Select predefined fluid properties for thermal liquid network
  • Pipe (TL) Block with Operating Point Parameterization: Specify pipe pressure drop and temperature differential based on operating point
  • Directional Valves (TL) with Operating Point Parameterization: Specify mass flow rate based on opening and pressure drop

Release details

Simscape Multibody

  • Belts and Cables Library: Model systems with belts, cables, spools, and pulleys
  • Inertia Visualization: View the placement of inertia elements using graphic markers

Release details

Simscape Power Systems

Simscape Components

  • Expanded Control Libraries: Speed up modeling by using prebuilt and documented algorithm components
  • DC-DC Converters: Step DC voltage up or down and convert fixed voltage to variable voltage using boost converters, buck converters, and chopper blocks
  • Battery Block Charge Dynamics: Model charge dynamics using an equivalent circuit
  • Battery (Table-Based) Block: Define no-load voltage and terminal resistance based on state of charge and temperature
  • Stepper Motor and Stepper Motor Driver Blocks: Model and drive rotational actuation

Specialized Technology

  • Frequency (Phasor) Measurement block: Measure voltage or current frequency in a model that is running in phasor mode
  • Synchronous Machine Canay Inductance: Use Canay Inductance parameter to more accurately model the mutual inductance between the armature, field, and damper windings
  • Fuel Cell Stack Block Presets: Model a 3 kW or 25 kW Solid-Oxide Fuel Cell (SOFC)
  • power_AsynchronousMachineParams Algorithm Enhancement: Estimate machine parameters based on manufacturer specifications

Release details

  • Improved Collision Detection: Sense collisions of virtual world objects using point clouds, raytracing, and primitive geometries
  • Offscreen Rendering: Use the VR to Video block as a video stream source without the need to keep the viewer window open during simulation
  • X3D Standard Format: Represent objects in a virtual reality 3D environment natively using the X3D ISO standard.

Release details

  • Additional Checks for MAAB 3.0 and JMAAB 4.0 Guidelines: Automate checking for MAAB 3.0 guidelines for Simulink, Stateflow, Variant Subsystems, and MATLAB Function Blocks and JMAAB 4.0 guidelines
  • Block Constraint Authoring with Edit-Time: Define checks for supported or unsupported blocks and parameters while editing
  • Clone Refactoring Workflow: Apply multiple refactoring steps to the same model
  • Automatic Refactoring for Similar Clones: Add masks to similar clones and refactor model
  • Automatic Data Store Memory Block Elimination: Identify and refactor Data Store Memory Block blocks with Model Transformer
  • Grid Visualization for Metrics: View results of Model Advisor checks in a grid to identify patterns in results

Release details

  • Additional Block Support: Inspect code for models that include Fcn and Combinatorial Logic
  • ​Enhanced Blocks for Higher Dimensions: Inspect code for models that include 2-D Assignment blocks, N-D Selector blocks, N-D Reshape blocks, and N-D Concatenate blocks​
  • Reusable Subsystem: Inspect code from atomic and function-call subsystems and subsystems from a library
  • void_void Subsystem: Inspect code with subsystem function body generated in a separate file

Release details

Code Generation

  • Code Descriptor: Retrieve meta information about generated code by using MATLAB API

Deployment

  • Build Process: Specify toolchain for template makefile
  • External Mode Simulation: Use XCP communication protocol
  • Build Process Status for Parallel Builds: View and interact with build process status for parallel builds of referenced model hierarchies
  • BeagleBone Blue Support Package: Generate, build, and deploy Simulink models on BeagleBone Blue hardware

Release details

  • Closed-Loop PID Autotuning: Deploy algorithm that performs PID autotuning without opening the feedback loop

Release details

  • Fine-grained filtering for relational boundary metrics: Control coverage results for individual design elements
  • Stateflow Just-In-Time (JIT) Compilation Mode: Reduce model update time when recording coverage

Release details

  • Model Initialization: Trim the model to a steady-state operating point as part of parameter estimation, response optimization, or sensitivity analysis

Release details

  • Incremental Test Generation for Generated Code: Generate additional tests from within the Test Manager to increase coverage of code generated by Embedded Coder
  • Dead Logic Refinement for Model Slicer: Improve model slice generation by using static analysis
  • Precision Improvements: Reduce rational approximations for model analysis
  • Test Generation: Avoid run-time errors by using test case refinement

Release details

  • TCP Protocol: Interface with TCP protocol by using Stream Input and Output blocks

Release details

  • Ladder Logic Import: Convert Rockwell PLC ladder diagrams to Simulink models
  • External Mode Logging: Collect run-time data on supported targets, visualize, and monitor logging data for Rockwell PLC targets
  • Function Inlining: Control inlining of math function calls in the generated code for RSLogix IDE
  • ssmethod Optimization: Control generation of ssmethod type for the top-level subsystem in the generated code
  • Identifier Length Customization: Specify the maximum character limit in function, type definition, and variable names

Release details

  • Target Computer Performance Monitoring: Display the performance of a real-time application running on a target computer by using the TET Monitor in MATLAB
  • File Transfer Protocol (FTP) on Target Computer: Create a MATLAB ftp client object to access the file system of the selected target computer
  • Simulink Root Inport Mapper: Use complex numbers as input for root inports

Release details

  • MATLAB Function Reporter: Report on Simulink MATLAB Function block and Stateflow MATLAB Function object
  • Lookup Table Reporter: ​Report on Simulink Lookup Table block​
  • Simulink Web View Goto and Data Store Memory Support: Navigate between related blocks​
  • ​​Batch Web View Export: Export all models in a folder to Web views

Release details

  • Requirements Import with ReqIF: Import requirements information from third-party tools supporting the ReqIF standard such as IBM Rational DOORS Next Generation or Siemens Polarion​
  • IBM Rational DOORS Import Wizard: Work with and manage requirements from DOORS by importing them as read-only references
  • Batch Test Execution: Verify requirements by launching linked tests
  • Link Set Comparison: Track changes to requirements links by comparing Link Set files​
  • Simulink and Stateflow Annotation Conversion: Convert existing annotations to requirements to improve traceability, analysis, and management

Release details

  • Coverage Aggregation: Merge coverage results from multiple test runs
  • Input Data Templates: Generate ​Excel and MAT-file templates for signal data from models
  • Excel Format for Baseline Tests: Capture baseline simulation data in Excel files​

Release details

Stateflow

  • Truth Table Editor: Design combinatorial logic within the Simulink and Stateflow editing environment by using edit-time checking, animation, and step-by-step debugging
  • Just-In-Time Debugger: Set breakpoints and debug Stateflow charts while using Just-In-Time simulation

Release details

Statistics and Machine Learning Toolbox

  • Code Generation: Generate C code for distance calculation on vectors and matrices, and for prediction by using k-nearest neighbor with Kd-tree search and nontree ensemble models (requires MATLAB Coder)
  • Nonlinear Regression for Big Data: Fit kernel SVM regression models by using random feature expansion
  • Big Data Algorithms: Compute confusion matrices and create nonstratified partitions for cross-validation on out-of-memory data​
  • Classification Learner App: Visualize and investigate high-density data with improved scatter plot​​s

Release details

Symbolic Math Toolbox

  • Polynomial Operations: Calculate the degree, resultant, and reduction of polynomials
  • Groebner Basis: Calculate the Groebner basis and eliminate variables from equations
  • Number Theory: Calculate perfect powers, modular powers, and prime numbers
  • Physical Units: Convert between more unit systems, use more physical dimensions, and display mixed units
  • MATLAB Live Scripts: Convert MuPAD notebooks, which will be removed in a future release, to MATLAB live scripts by using convertMuPADNotebook

Release details

System Identification Toolbox

  • Particle Filter Simulink Block: Estimate states of nonlinear systems for online tracking and control system design

Release details

Text Analytics Toolbox

  • Multiword Phrases: Extract and count multiword phrases (n-grams) from tokenized text
  • HTML Text: Extract text content from HTML pages.
  • Deep Learning: Learn how to use deep learning LSTM networks for text classification (requires Neural Network Toolbox)
  • Pattern Detection: Detect sentences, email addresses, and URLs in text
  • Stochastic LDA Model Training: Fit LDA models to large datasets

Release details

Trading Toolbox

  • Wind Interface: Retrieve market data and execute trades through Wind Financial Terminal

Release details

Vehicle Dynamics Blockset

  • Preassembled vehicle dynamics models for passenger cars and trucks
  • Preassembled maneuvers for common ride and handling tests, including a double-lane change
  • 3D environment for visualizing simulations and communicating scene information to Simulink
  • Libraries of propulsion, steering, suspension, vehicle body, brake, and tire components
  • Combined longitudinal and lateral slip dynamic tire models
  • Predictive driver model for generating steering commands that track a predefined path
  • Prebuilt 3D scenes, including straight roads, curved roads, and parking lots

Release details

Vehicle Network Toolbox

  • CAN FD Protocol: Send and receive messages with Simulink using the CAN FD protocol
  • XCP Protocol: Communicate with ECUs from Simulink using XCP over UDP, or from MATLAB using XCP over UDP and TCP
  • ​XCP Protocol: Tune characteristics and read/write values with computation method scaling in MATLAB
  • ​MDF: Read entire file content in a single function call
  • Linux Platform Support: Encode and decode CAN or CAN FD messages and communicate on virtual channels on Linux
  • Hardware Support: Connect to additional Vector CAN interface devices

Release details

Vision HDL Toolbox

  • Pothole Detection Example: Overlay a centroid marker and text label to identify potholes
  • Pixel Stream FIFO Block: Convert bursty video sources to contiguous lines
  • Separable Filter Example: Use the Line Buffer block to implement a hardware-efficient custom filter

Release details

WLAN System Toolbox

  • ​IEEE 802.11ax Examples: Generate IEEE 802.11ax high efficiency (HE) waveforms and simulate downlink end-to-end links​​
  • IEEE TGax Indoor Channel Model: Simulate indoor 802.11ax propagation conditions for both single and multiuser scenario​
  • ​IEEE 802.11ad Single Carrier PHY Example: Simulate an end-to-end, DMG format WLAN link over an AWGN with synchronization and equalization​​​
  • IEEE 802.11ad​​​ Extended MCS Support: Generate IEEE 802.11ad waveforms with the extended modulation and coding schemes (MCS) for the single carrier PHY​​​

Release details

Wavelet Toolbox

  • Filter Banks for Continuous Wavelet Transform: Create, visualize, and use filter banks for time-frequency analysis
  • Filter Banks for Discrete Wavelet Transform: Explore time-frequency characteristics of wavelets and scaling functions
  • Constant-Q Transform: Perform adaptive time-frequency analysis using nonstationary Gabor frames
  • Scalogram View: Detect transients and perform time-frequency analysis with the Signal Analyzer App
  • Empirical Mode Decomposition and Hilbert-Huang Transform: Perform data-adaptive time-frequency analysis of nonlinear and nonstationary processes
  • Continuous Wavelet Transform: Improved control of time-frequency parameters and timetable support
  • Machine and Deep Learning Examples: Classify signals using wavelet-based feature extraction and deep learning

Release details

Was this topic helpful?