r2020 release notes · installation changes..... 1-2 licensing changes..... 1-2 new features........

40
Confidential Prerelease Documentation — Subject to Nondisclosure Agreement Release Notes R2020b

Upload: others

Post on 16-Jul-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

Release NotesR2020b

Page 2: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

How to Contact MathWorks

Latest news: www.mathworks.com

Sales and services: www.mathworks.com/sales_and_services

User community: www.mathworks.com/matlabcentral

Technical support: www.mathworks.com/support/contact_us

Phone: 508-647-7000

The MathWorks, Inc.1 Apple Hill DriveNatick, MA 01760-2098

Release Notes© COPYRIGHT 2020 by The MathWorks, Inc.The software described in this document is furnished under a license agreement. The software may be used or copiedonly under the terms of the license agreement. No part of this manual may be photocopied or reproduced in any formwithout prior written consent from The MathWorks, Inc.FEDERAL ACQUISITION: This provision applies to all acquisitions of the Program and Documentation by, for, or throughthe federal government of the United States. By accepting delivery of the Program or Documentation, the governmenthereby agrees that this software or documentation qualifies as commercial computer software or commercial computersoftware documentation as such terms are used or defined in FAR 12.212, DFARS Part 227.72, and DFARS 252.227-7014.Accordingly, the terms and conditions of this Agreement and only those rights specified in this Agreement, shall pertainto and govern the use, modification, reproduction, release, performance, display, and disclosure of the Program andDocumentation by the federal government (or other entity acquiring for or through the federal government) and shallsupersede any conflicting contractual terms or conditions. If this License fails to meet the government's needs or isinconsistent in any respect with federal procurement law, the government agrees to return the Program andDocumentation, unused, to The MathWorks, Inc.

TrademarksMATLAB and Simulink are registered trademarks of The MathWorks, Inc. Seewww.mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may betrademarks or registered trademarks of their respective holders.PatentsMathWorks products are protected by one or more U.S. patents. Please see www.mathworks.com/patents formore information.Revision HistorySeptember 2020 Online only New for Release 2020b

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

Page 3: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

Release Notes1

Installation and Licensing Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2Installation Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2Licensing Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2

New Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

iii

Contents

Page 4: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement
Page 5: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

Release Notes

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement 1

Page 6: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

Installation and Licensing Changes

Installation ChangesR2020b Installation Changes

There are no installation changes for R2020b prerelease.

Licensing ChangesSimulink Real-Time

As of R2020b, Simulink Real-Time™ no longer requires Simulink, Simulink Coder™, and MATLABCoder to develop apps and run scripts to interact with a real-time application. Simulink, SimulinkCoder, and MATLAB Coder are required for creating a model and real-time application.

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement1 Release Notes

1-2

Page 7: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

New Features

MATLABEnvironment

• MATLAB Online Accessibility: Use a screen reader to interact with the Command Window andcreate scripts and functions

• MATLAB Online Accessibility: Annotate figures by using the keyboard• Live Editor Images: Add alternative text to images• Live Editor Images: Change the size of images• Live Editor Hyperlinks: Navigate to existing files from a live script or live function using links• Live Editor Export: Export all live scripts and live functions in a folder to a standard format• Query MATLAB Release Information

Language and Programming

• pattern Object and Functions: Match patterns in text functions• extract Function: Extract substrings from strings• Functions: New validation functions for arguments and properties• underlyingType, isUnderlyingType, and mustBeUnderlyingType Functions: Query the

underlying data type of classes• height and width Functions: Return number of rows or columns in an array• Class conversions: Assignment operations convert more classes into built-in data types

Data Analysis

• normalize Function: Scale data by interquartile range• groupsummary Function: Summarize data using functions that require multiple input arguments• fillmissing Function and Clean Missing Data Live Editor Task: Specify maximum gap size tofill

• Clean Outlier Data Live Editor Task: Define outliers based on percentile thresholds

Data Import and Export

• MATLAB Online: Play, pause, resume, and stop audio data in MATLAB Online• Audio devices: Refresh the available audio devices using the audiodevreset function• HDF5 files and web-based data: Read and write remotely-stored HDF5 files using existing HDF5

functions• HDF5 files: Read and write file names encoded using Unicode characters• Audio files and web-based data: Read and write remotely stored audio files using audioread,

audiowrite, and audioinfo• imread function and Tiff object: Read images from SVS and TIFF files containing Aperio

JPEG2000 compression• Scientific File Format Libraries: NetCDF library upgraded to 4.7.3

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

New Features

1-3

Page 8: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

• Image File Format Libraries: LibTIFF library upgraded to version 4.1.0• Text files: Read each line in a text file using the readlines function• readstruct and writestruct functions: Read and write structured data• fileparts function: Parse file names specified as cell arrays of character vectors and string

arrays• Datastore: Transform multiple datastores using the transform function• ArrayDatastore object: Create datastores from in-memory data• FileDatastore: Shuffle and create subsets of FileDatastore objects• writeall function: Write text and spreadsheet files to individual row groups in Parquet files• Spreadsheet files: Customize formatting when writing data to spreadsheet files with

PreserveFormat and AutoFitWidth

Mathematics

• Optimize Live Editor Task: Solve optimization problems interactively• pagemtimes Function: Perform matrix multiplication on pages of N-D arrays• pagetranspose and pagectranspose Functions: Transpose pages of N-D arrays• svdsketch Function: Compute SVD factors of low-rank matrix approximation

Graphics

• bubblechart, bubblechart3, and polarbubblechart Functions: Create bubble charts in 2-D,3-D, and in polar coordinates

• Swarm charts and Scatter objects: Visualize distributions of discrete data• scatter Function: Vary the transparency across all points• tiledlayout Function: Improved placement of legends, and colorbars, and shared decorations• axis Function: Pad axis limits to show plotted data near the limits more clearly• Titles, Subtitles, and Axis Labels: Add subtitles to plots, and align titles and axis labels with the

plot box• Data Tips: Customize data tip content on charts created from tables• turbo Colormap: jet colormap alternative with more perceptually uniform transitions• Colormap Editor: Customize colormaps using modernized interface• boxchart Function: Use color to differentiate between box charts• im2gray and cmap2gray: Convert images and colormaps to grayscale• validatecolor Function: Calculate normalized RGB triplets for color names, hexadecimal color

codes, or integer values• Markers: Specify horizontal or vertical line markers for plots• surfc and meshc Functions: Specify Z-level for contours on surface and mesh plots• animatedline Function: Create animated lines in polar plots• colororder Function: Control colors in geographic bubble charts

App Building

• uitable Function: Configure columns to use weighted variable width or to automatically adjustto fit data

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement1 Release Notes

1-4

Page 9: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

• scroll Function: Scroll to the top or bottom of a text area programmatically• ComponentContainer Class: Develop your own class of UI components• WindowStyle Property: Create modal UI figures• Icon Property: Specify custom icons for UI figure windows and toolbar push and toggle tools• WordWrap Property: Wrap long text to fit the width of certain UI components• Enable Property: Control whether panels and button groups respond to user interaction• App Designer: Allow only one running instance of your app at a time• App Designer: Change the stacking order of UI components• App Designer: Add and configure toolbar components on the App Designer canvas• App Designer: Select UI components and draw them on the App Designer canvas• Graphics Support: Create plots in apps with full support for any type of axes• Graphics Support: Identify coordinates and display text by clicking or tapping• App Capture: Use the exportapp and getframe functions to capture user interfaces• App Testing Framework: Perform choose gestures on context menu items• App Testing Framework: Perform drag gestures on axes and UI axes• App Testing Framework: Perform gestures on push tools and toggle tools• Comparison Tool: Find differences in and merge apps

Performance

• sum Function: Improved performance summing the first dimension of numeric arrays• Data Tip Markers: Improved rendering performance of data tip markers in surface plots of large

data sets created in UI figures and MATLAB Online

Software Development Tools

• Dependency Analyzer: Export to archive and generate a dependency report• Project API: Change project definition file type and conserve source control history• Unit Testing Framework: Report the validity of shared test fixtures• Unit Testing Framework: Run tests in parallel on clusters and clouds• Unit Testing Framework: Run tests in parallel with standalone applications• App Testing Framework: Perform choose gestures on context menu items• App Testing Framework: Perform drag gestures on axes and UI axes• App Testing Framework: Perform gestures on push tools and toggle tools• Code Compatibility Report Will Now Warn About Unsupported Functionality

External Language Interfaces

• C++ Interface: Supported data types• C++ Interface: Create interface with C++ source files• Python: Version 3.8 support• Python: Terminate Python interpreter and start new one in same MATLAB session• Compiler support changed for building C++ interfaces, MEX files, and standalone MATLAB

engine and MAT-file applications

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

New Features

1-5

Page 10: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

Hardware Support

SimulinkSimulink Editor

• Enhancements to the Simulink quick access toolbar• Keyboard shortcuts to select and move objects in a diagram• Drag or paste text into Simulink Editor canvas to create annotations• Optionally resize blocks to fit parameter values• Align centers while resizing blocks and annotations• Use half and string data types in the mask datatypestr parameter• Display auto-complete options for mask parameter values while using set_param• Refer between containers in the same library• Improved performance for the add_block function

Simulation Analysis and Performance

• FMU Export: MultiThreadCoSim renamed to MultithreadedSim• Streaming enhancements and triggers in the Simulation Data Inspector• Simulation Data Inspector enhancements for importing Microsoft Excel files• Create a custom data reader to import data into the Simulation Data Inspector• Select colors to use for comparison results in the Simulation Data Inspector• Simulation Data Inspector zoom enhancements• Specify a units system to use to display data in the Simulation Data Inspector• Simulink logging enhancements• Enhanced Simulation Data Inspector interactive comparison report• Read and write data using Simulink.sdi.Run objects in deployed applications

Component-Based Modeling

• Support for virtual buses as component interfaces in message-based communication• For Each subsystem can call a Simulink function using a Function Caller block• Receive protected models with their dependencies• Suppress digital signature verification of protected model programmatically• Perform commonly used subsystem reference tasks using the toolstrip menu• Restore and push edited and parameterized library blocks in the model using the improved

Library Links Manager tool• Simulate subsystem block diagrams using test harness from the subsystem context menu• Schedule Partitions to Execute Based on Events Broadcast from Stateflow in the Schedule Editor• Schedule Editor Supports Partitioning with Variable-Step Solvers• Automatic variant switching for simulation and code generation workflows• Parameter CompiledVariantInfo

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement1 Release Notes

1-6

Page 11: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

• MatchFilter option with find_system• find_system enhancements with Variants• Variant Configuration Analysis Tool: Specify variant control values• Variant Manager: Improved handling of variant control variables defined in InitFcn• Variant Connector support in Variant Manager• Subsystem Reference support in Variant Reducer• Set simulation target language to build custom code• Analyze all Variant choices using Variant activation time• Enhanced support for different types of variables in Variant expressions• Limit scope of Variant control variables from mask and model workspace of Variant subsystems• Handle Variant-related modeling issues using new diagnostic• SIMD optimization for simulation targets

Project and File Management

• Dependency Analyzer: Export to archive, generate dependency report, and create a project fromthe dependency graph

• Project API: Change project definition file type and conserve source control history• Automerge Tool: Customize source control tools to automerge models• Projects: Export to previous version using Simulink.exportToVersion• Clear Simulink History Programmatically• Model File Preferences: Notify when opening a model in an unopened project• polyspacePackNGo: Generate and package Polyspace option files from a Simulink model• Save and close referenced subsystems and models in a model hierarchy• Simulink cache functions for querying info and unpacking contents

Data Management

• Export signal data in custom formats from the Signal Editor• Default value for model arguments• Property dialog boxes for data objects use separate tabs for design and code generation properties

Block Enhancements

• Property Inspector and toolstrip enhancements for custom dashboard blocks• Name property added for panels• Simulink toolstrip support for dashboard blocks• Add a foreground image to the Horizontal Gauge, Vertical Gauge, and Circular Gauge blocks• Background Color, Foreground Color, and Opacity properties added for several dashboard blocks• IC block supports bus signals• 1-D, 2-D, and n-D Lookup Table blocks have new input ports• FMU block changes• Simulate models containing string blocks in rapid accelerator mode from the MATLAB command

line

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

New Features

1-7

Page 12: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

• MATLAB System block supports data types with slope bias scaling• Simulink.LookupTable property dialog box updated• New SimStruct Functions for String Support• PID Controller Simulink Blocks: Option to provide output saturation limits as external inputs• Highlighting for related Goto and From blocks• Specify name of subsystem created by Simulink.BlockDiagram.createSubsystem• C Function block improvements• Global variables in C Caller block• Option to limit number of iterations in a For Each subsystem• Model blocks refresh automatically• Improved names for two Bus Creator block parameters• New Variable Pulse Generator Block• New PWM Block

Connection to Hardware

• Communicate with Android devices in Normal mode simulation using Connected I/O• Create an interactive display of Dashboard blocks on Android devices• Measure frequency and duty cycle of an external signal• Measure linear acceleration, angular rate, and magnetic field using LSM9DS1 IMU sensor• Support for MODBUS RS485 serial data communication protocol• Support added for Nano 33 IoT board• Publish data to WebSocket server using Arduino hardware• Read data from WebSocket server using Arduino hardware• Obtain Arduino library locations• Support for I2C serial data communication• Support for parallel compilation of generated code and driver source code• Communicate with Raspberry Pi hardware in Normal mode simulation using Connected I/O• Base rate synchronization between ALSA Audio blocks and Simulink models

MATLAB Function Blocks

• Access fields of a structure array in a MATLAB Function block• Expanded code generation for datetime and duration arrays• Expanded code generation for tables and timetables• Expanded code generation for categorical arrays• Code generation for more MATLAB functions• Code generation for more toolbox functions

Modeling Guidelines

• High-Integrity System Modeling guidelines to verify compliance with DO, IEC, EN, and ISO safetystandards

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement1 Release Notes

1-8

Page 13: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

S-Functions

• S-Function Builder changes

5G Toolbox• Enhanced support for 5G NR DL waveform generation• Enhanced support for OFDM modulation and demodulation• Enhanced support for UL-SCH data and control multiplexing• Visualization of CDL channel characteristics• Enhanced support for TBS calculation• System-Level Simulation Updates: Write MAC packets to PCAP file

AUTOSAR Blockset• AUTOSAR software component modeling• AUTOSAR adaptive software component modeling• Import ARXML composition descriptions to architecture models

Aerospace Blockset• New International Geomagnetic Reference Field block• FlightGear support updates• Geocentric to Geodetic Latitude and Geodetic to Geocentric Latitude blocks have new parameters

and ports• Geoid Height block change

Aerospace Toolbox• Updated igrfmagm function• FlightGear support updates• geoc2geod and geod2geoc functions have new output arguments• geoidheight function change

Antenna Toolbox• Import Gerber Files: Import, modify, and analyze Gerber files Antenna Toolbox• Grid, Cylindrical, and Spherical Reflectors; Bicone, Discone, and More: Design, visualize, and

analyze ten new antennas including reflectors using parametrized geometry• Cartesian Positioning for txsite and rxsite: Perform point-to-point RF propagation analysis

using Cartesian coordinate system• Ray Tracing Analysis for Cartesian Coordinates: Import STL files to describe scenarios for ray

tracing analysis• SADEA Optimization Using Command Line Interface: Optimize antennas and arrays by providing

access to optimization data

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

New Features

1-9

Page 14: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

• Surrogate Optimization in Antenna Designer and Array Designer: Optimize antenna and arraysusing surrogate optimizer

Audio Toolbox• YAMNet Pretrained Network: Classify sounds with pretrained YAMNet neural network• VGGish Pretrained Network: Extract audio embeddings with pretrained VGGish neural network• Extract cepstral coefficients from spectrograms and auditory spectrograms• Compute delta of audio features• Enhanced control of designAuditoryFilterBank• Enhanced control of audioFeatureExtractor and Extract Audio Features• Enhanced control of melSpectrogram• Enhanced control of time-domain windowing for mfcc and gtcc• Extract spectral flux from streaming signals• Generate MATLAB function from audioFeatureExtractor• GPU code acceleration for new and existing features• GPU code generation support for the melSpectrogram function• Measure perceived acoustic fluctuation strength• Enhanced control over sound pressure level (SPL) metering• Improved low-frequency and high-frequency octave filtering using octaveFilter• Improved low-frequency octave filtering using octaveFilterBank• Enhanced Audio Test Bench workflow• Report audio plugin latency to host• Refresh audio device list from audio I/O blocks

Automated Driving Toolbox• Lidar Sensor Model Extensions: Generate synthetic point clouds from interactive driving scenarios

and scenarios in Simulink• OpenStreetMap Roads in Scenarios: Create driving scenarios using road data imported from the

OpenStreetMap web service• OpenDRIVE Support: Export a driving scenario to the OpenDRIVE format• Reverse Motion in Driving Scenarios: Simulate driving maneuvers such as backing into parking

spots• Simulation 3D Vision Detection Generator Block: Generate synthetic object and lane boundary

detections from the Unreal Engine simulation environment• Driving Scenario Enhancements: Rotate actors interactively, specify yaw angles with trajectories,

and additional features• HERE HD Live Map Marketplace Support: Read and visualize high-definition map data from the

HERE HD Live Map Marketplace service• HERE HD Live Map Localization Layers: Read localization data such as barriers, signs, and poles

from a road network

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement1 Release Notes

1-10

Page 15: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

• Labeler Enhancements: Label objects in images and video using projected 3-D bounding boxes,load custom image formats, additional keyboard shortcuts, and more

• Unreal Engine Camera Views: Visualize vehicle acceleration, pitch, and roll with improved cameracontrols and other usability improvements

• Driving Scenario Performance: Improved performance when simulating scenarios with largenumbers of actors

Communications Toolbox• RF Propagation and Ray-Tracing Enhancements• Ray-Tracing Channel Modelling and Visualization• Channel Modeling Enhancements• Bluetooth LE and BR/EDR Features and Examples• Training and Testing a Neural Network for LLR Estimation in MATLAB• RF Transceiver Impairment Modeling in Simulink• Effect of a High-Power Interferer on ADC Performance• MATLAB Coder support added to comm.Ray

Computer Vision Toolbox• Visual Point Cloud SLAM Data Management: Manage 3-D world points and projection

correspondences to 2-D image points• Point Cloud Phase Correlation Registration: Register point clouds using phase correlation• Point Cloud Loop Closure Detection: Point cloud feature descriptor for loop closure detection• Improve Triangulation Accuracy: Filter triangulated 3-D world points behind camera view• Geometric Transforms: Estimate 2-D and 3-D geometric transformations from matching point

pairs• AprilTag Pose Estimation: Detect and estimate pose for AprilTags in an image• Labeler Enhancements: Label objects in images and video using projected 3-D bounding boxes,

load custom image formats, additional keyboard shortcuts, and more• Object Detection Visualizations: Visualize shapes on images and point clouds• New Deep Learning Layers: ROI align pooling layer and space-to-depth layer• Improved Focal Loss Layer: Extended to support semantic segmentation and classification

networks• Evaluate Pixel-Level Segmentation: Compute a confusion matrix of multiclass pixel-level image

segmentation• focalCrossEntropy function: Compute focal cross-entropy loss• Code Generation: Generate C/C++ code using MATLAB Coder• OpenCV Interface: Integrate OpenCV version 4.2.0 projects with MATLAB

Control System Toolbox• sparss and mechss: Support for sparse state-space models

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

New Features

1-11

Page 16: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

DO Qualification Kit (for DO-178)• Qualification Artifacts for R2020b• Automate verification of Simulink Coverage tool qualification results• Qualification of Model Advisor checks for improving MISRA C:2012 compliance• Enhanced Polyspace test suites for CERT C: 2016, C++:2017, C++ exceptions checks, and macOS• Qualification of Simulink Test summary report

DSP System Toolbox• New time scope object: Visualize signals in the time domain• SIMD Code Generation: Use Intel AVX2 to generate optimized code for certain DSP System

Toolbox features• One-sided short-time Fourier transform in dsp.STFT and dsp.ISTFT objects• In-place Memory Optimization: Optimize the memory usage in the generated code for certain DSP

System Toolbox blocks• Improved Speed Performance in Accelerator Mode for specific blocks in DSP System Toolbox• Visualize logged Stateflow states in the Logic Analyzer• HDL-optimized FIR Decimation block and System object: Downsample signals using a FIR

decimation filter with a hardware-friendly interface and architecture (requires HDL Coder forcode generation)

• Gigasample-per-second (GSPS) CIC Decimation and CORDIC Algorithm: Increase throughput ofHDL-optimized CIC decimation and complex-to-magnitude-angle conversion by using frame-basedinput (requires HDL Coder for code generation)

• Dataflow domain analysis integrated with Performance Advisor• MATLAB Compiler support for dsp.ArrayPlot

Data Acquisition Toolbox• Measurement Computing Support: Analog Output Generator and Analog Input Recorder

Database Toolbox• MySQL native interface• PostgreSQL native interface• Preserve non-ASCII characters in column names of imported data• Set JDBC connection options with updated workflow

Deep Learning Toolbox• Experiment Manager: Train networks in parallel and using Bayesian optimization• Deep Network Designer: Train networks for semantic segmentation, multi-input, out-of-memory,

and image-to-image regression workflows• Deep Network Designer: Explore prebuilt recurrent networks for sequence and time series data

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement1 Release Notes

1-12

Page 17: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

• Deep Network Designer: Visualize data on import• Deep Network Designer: Load multiple networks and custom layers• Deep Network Designer: Randomize splitting of training and validation data• Deep Network Designer: Programmatically open a network in Deep Network Designer• Deep Network Designer: Edit more properties of convolution layers• Feature Input: Train networks with feature input• Sigmoid Layer: Train networks using sigmoid activation• Group Normalization: Train networks using group normalization• Batch Normalization: Use batch normalization layers for sequence data• Visualization: Explain image classification predictions using LIME• Multi-input Networks: Make predictions using multiple numeric arrays• Multi-input Networks: Monitor network training progress using validation data• Multi-input Networks: Train networks with multiple inputs using a parallel pool• Gated Recurrent Units: Apply recurrent bias to GRU operation• Network Composition: Define custom layers containing layer graphs• Custom Training Loops: Automatically create and preprocess mini-batches of data• One-Hot Encoding: Encode and decode categorical data into vectors• Custom Training Loops: Analyze networks for custom training loop workflows• Custom Training Loops: Use bidirectional LSTM and word embedding layers in dlnetwork

objects• Automatic Differentiation: Use more functions with dlarray input• Query Data Types: Query class and underlying data type

Econometrics Toolbox• Impulse response function (IRF) of standard and diffuse state-space models• aicbic returns additional information criteria and can normalize results

Embedded CoderModel Architecture and Design

• Determine programmatically if model or data dictionary contains Embedded Coder Dictionary• Symbolic dimension inputs for Add, Subtract, Sum of Elements, and Sum blocks• Improved readability for preprocessor conditionals in generated code• Memory section configurations for atomic subsystems

Code Interface Configuration and Integration

• Streamlined model data configuration for code generation• Dimension preservation of multidimensional arrays for individual model elements• Custom data type configuration and modification

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

New Features

1-13

Page 18: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

Code Generation

• Static code metrics for C99 and C++ libraries• Code generation using multiple code replacement libraries• Static reusable subsystem functions for C++ class interface• Name mangling of functions inside MATLAB Function block code• Generated code enhanced to reduce MISRA C:2012 Rule 13.5 violations• Generate static code metrics report programmatically• Cross-release code integration support for non-finite numbers in shared utility code• Enhanced traceability between variables and modeling elements in Code view• Same name error message for Simulink.Bus object and data in C++ code• Standardization of header guards in header files

Deployment

• Texas Instruments C2000: Support of UDP and Hardware Interrupt Blocks for F2838x (ARMCortex-M4) Processor in Embedded Coder Support Package for Texas Instruments C2000Processors

• Texas Instruments C2000: Support Code Generation for SDFM Module in F2807x, F2837x,F28004x and F2838x Processors for Embedded Coder Support Package for Texas InstrumentsC2000 Processors

Performance

• SIMD code generated using Intel AVX-512 code replacement library• Improved cache performance of generated code that has loop interchange• SIMD vectorization of loops in Simulink models• Generated code optimization through SIMD for integer data type• Enhanced Image Processing Toolbox functions in generated code

Financial Instruments Toolbox• Pricing and Valuation: Variance swaps• Pricing and Valuation: Vanna-Volga method• Pricing and Valuation: Touch, Double Touch, and Binary instruments• Pricing and Valuation: Double-Barrier instrument• Pricing and Valuation: Callable and puttable float bonds, float bond options, caps, floors, swaptions

instrument• Pricing and Valuation: Bermuda exercise for Finite Difference pricer• Pricing and Valuation: Monte-Carlo simulation for equity, FX, and commodity instruments

Financial Toolbox• Stochastic Differential Equation Models: Transition density simulation for Heston and Bates

models

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement1 Release Notes

1-14

Page 19: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

• Portfolio Analysis: Period-over-period returns• Portfolio Management: Backesting framework

Fixed-Point Designer• Half Precision in Simulink: Design, simulate, and generate code for half-precision systems• Expanded half-precision support for Deep Learning Toolbox and FFT functions• Explore half precision in optimized lookup tables• New QR decomposition and matrix solve Simulink blocks• Optimize data types based on operator counts• Export optimization workflow steps to a MATLAB script• Automatically propagate slope-bias data types during data type optimization• Data type optimization workflow improvements

Fuzzy Logic Toolbox• ANFIS Training: Algorithm implementation converted to MATLAB code

GPU Coder• Simulink Support: CUDA code generation and execution for Simulink models• Persistent Variables: Create persistent memory on the GPU• cuFFT Library Support: Improved performance of generated code for fast Fourier transform (FFT)

functions• Deep Learning: Generate code for custom layers• Multi-Input Networks: Generate code for networks that have multiple inputs• Long Short-Term Memory (LSTM) Networks: Generate code for convolutional LSTM• Long Short-Term Memory (LSTM) Networks: Generate code for network activations• Deep Learning Layers: Generate code for additional layers• Code generation for additional Computer Vision Toolbox function• Code generation for additional Signal Processing Toolbox functions• Code generation for additional Wavelet Toolbox functions

Global Optimization Toolbox• Hybrid Functions for ga and particleswarm: Obtain hybrid function exit flag• Optimize Live Editor Task: Create and run optimization problems using a visual interface

HDL CoderModel and Architecture Design

• Half-Precision Native Floating Point: Generate target-independent synthesizable RTL code fromhalf-precision floating-point models

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

New Features

1-15

Page 20: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

• HDL code generation for lookup tables that have floating-point types• HDL Code Advisor check for blocks that introduce latency with fixed-point types

Block Enhancements

• Optimized Square Root: Generate high-frequency fixed-point HDL implementation of square rootoperations

• Custom latency for math and trigonometric blocks with fixed-point types• Modulo option for HDL Counter block• HDL code generation for Scoped tag visibility for Goto block• Product block enhancements for HDL code generation• 5G NR HDL MIB Recovery Reference Application: Implement 5G NR MIB recovery subsystem on

FPGA or ASIC• OFDM Transmitter and Receiver Reference Applications: Implement custom OFDM wireless

communication system on FPGA or ASIC• HDL-optimized FIR Decimation block and System object: Downsample signals using a FIR

decimation filter with a hardware-friendly interface and architecture• Gigasample-per-second (GSPS) CIC Decimation HDL-Optimized Block: Increase throughput of CIC

decimation by using frame-based input• Corner Detector Block and System Object: Detect features using Harris algorithm• Region of Interest (ROI) Resource Sharing: Share hardware resources and streaming control

signals between vertically aligned regions• Blob Analysis Example: Detect and label connected components in streaming video• HDL Minimum Resource FFT and HDL Streaming FFT blocks have been removed

Code Generation and Verification

• Option to scalarize vector ports only at DUT level in VHDL code• HDL code generation for models that have comment through blocks• HDL code generation for models that have Subsystem Reference blocks• Enhancement to HDL code generation for nontop DUT• HDL code generation for nonboolean inputs at control ports• UseMatrixTypesInHDL property not recommended

Speed and Area Optimizations

• Option to control removal of unused ports in generated HDL code• Hierarchy flattening report• Optimization enhancements for Sum of Elements and MinMax blocks

IP Core Generation and Hardware Deployment

• Rapid prototyping of HDL IP core by using software interface script• Interface option to customize initial value of AXI4 slave registers• Generation of HDL IP cores that have greater than 128 bits on internal IO interface• IP core generation workflow for scalarization of vector ports only at DUT level in VHDL code

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement1 Release Notes

1-16

Page 21: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

• Intel Quartus Pro SoC Targeting: Generate generic HDL IP core or integrate IP core into Intelreference designs

• Arria 10 SoC AXI4 Slave reference design• Speedgoat IO Modules IO331 and IO333 being removed• Audio filter reference application for Intel SoC device• Updates to supported software

Simscape Hardware-in-the-Loop Workflow

• Automatic replacement of Simscape subsystem with state-space implementation• Automatic setting of number of solver iterations in Simscape HDL Workflow Advisor• Mapping of state-space parameters to RAM in HDL implementation model

HDL Verifier• Generate UVM driver or monitor from Simulink subsystems• Configure generated UVM files• UVM and SystemVerilog support for Simulink built-in port types to logic and bit types• Export run time error into SystemVerilog environment• HDL Verifier contextual tab on Simulink Toolstrip• Generate functional coverage report for verify statements• Updates to supported software

IEC Certification Kit (for ISO 26262 and IEC 61508)• Qualification and Certification Artifacts for R2020b• Use ISO modeling guidelines to improve compliance to ISO 262626• Qualification of Model Advisor checks for improving MISRA C:2012 compliance• Automate verification of Simulink Coverage tool qualification results• Qualification of Simulink Test summary report• Enhanced Polyspace test suites for CERT C: 2016, C++:2017, C++ exceptions checks, and macOS

Image Acquisition Toolbox• Enhanced property support for Point Grey cameras

Image Processing Toolbox• Volume Segmenter App: Segment 3-D grayscale or RGB volumetric images• Deep Learning: Resize layers and deep learning arrays• Big Images: Select locations of blocks to read• Image Quality Metrics: Measure image color using X-Rite ColorChecker test chart• Color Diagrams: Display color measurements from arbitrary number of ROIs and plot

measurements in u'v'L color space

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

New Features

1-17

Page 22: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

• Color Error: Calculate color differences using CIE76, CIE94, or CIEDE2000 standard• Color Conversion: Convert wide-gamut RGB color values into YCbCr color space• Geometric Transformations: Perform rigid 2-D and 3-D transformations• DICOM-RT Contours: Create volumetric mask from contour data• poly2label Function: Create label matrix from set of ROIs• tiffreadVolume Function: Read volumetric data from TIFF file• label2rgb Function Enhancement: Return list of colors

Instrument Control Toolbox• Bluetooth Interface: New functions and properties with improved performance• TCP/IP Client Interface: New functions and properties with improved performance• UDP Interface: New functions and properties with improved performance• Serial Port Interface: Improved performance

LTE Toolbox• Configure and Generate Downlink RMCs with 256-QAM and 1024-QAM• Generate Release 15 NPRACH FDD Waveforms• Model and Test LTE RF Transmitter• Visualize CDL Channel Characteristics

MATLAB Coder• Deep Learning: Generate code for Long Short-Term Memory (LSTM) layer• Deep Learning: Generate code for custom layers• Deep Learning: Generate code that uses Intel MKL-DNN library on macOS platform• Deep Learning: Generate code for additional layer• Generate MEX function that has C++ classes for MATLAB classes• Improved organization of generated C++ code into namespaces• Improved identifier names in generated C++ code• Improved file partitioning for generated code• Global Settings for Function Inlining: Fine tune readability and speed of generated code• Generate code for MATLAB code that accesses fields of a structure array• Reserve identifier names for use in external C/C++ code• Access license checkout information by using report information object• Directly package generated standalone code by using codegen command• Expanded code generation support for eig function• JIT support for half-precision floating-point data type• Clearer pattern of ordering of local variable declarations• Expanded code generation for datetime and duration arrays

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement1 Release Notes

1-18

Page 23: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

• Expanded code generation for tables and timetables• Expanded code generation for categorical arrays• Code generation for more MATLAB functions• Code generation for more toolbox functions

MATLAB Compiler• Standalone Applications: Create standalone applications using

compiler.build.standaloneApplication andcompiler.build.standaloneWindowsApplication functions

• Web Apps: Create web apps using the compiler.build.webAppArchive function

MATLAB Compiler SDK• Java Package Integration: Support for MATLAB string array• MATLAB Production Server: Create deployable archives using the

compiler.build.productionServerArchive function• Python Version Support for Python Package Integration

MATLAB Parallel Server• GPU Functionality: Use new and enhanced gpuArray functions• GPU Functionality: Use new and enhanced gpuArray functions in Statistics and Machine

Learning Toolbox• GPU Functionality: Use new and enhanced gpuArray functions for working with signals, audio,

and wavelets• GPU Communications: Fast data transfer between GPUs in a parallel pool• Distributed Arrays: Use new and enhanced distributed array functionality• Tall Arrays: Use new and enhanced tall array functionality in Signal Processing Toolbox• Array Assignment: Assign gpuArray or distributed data directly into existing MATLAB arrays• Distributed Tables: Assign data directly into existing distributed tables• Query Underlying Data: Query the underlying data type of classes• Query Parallel Functionality: Query if support for PCT functionality is available• Reference Architectures: Schedule jobs to run in AWS Batch• Docker Containers: Build a container image with a customized MATLAB installation• Upgrade Parallel Computing Products Together

MATLAB Production Server• .NET Client RESTful API: Support for asynchronous requests and protobuf when using the

RESTful API• Server profiling: Specify multiple profiling objects and provide more granularity when logging

server profile information• Python Client: Support for Python 3.8

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

New Features

1-19

Page 24: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

MATLAB Report Generator• Lists of figures, tables, and captions in reports• Change in default border width in PDF reports• Changes to hyphenation and word break behavior for PDF reports• Changes to an embedded file in a PDF report• append method for Report API reports• New mlreportgen.dom.EmbeddedObject creation syntax for specifying the style of link text• mlreportgen.report.MATLABVariable reporter options for specifying reported name and

value• New PowerPoint table creation syntax for specifying the table style

Mapping Toolbox• Geographic Globe: Programmatically navigate globe using camera functions• Coordinate Reference Systems: Get information about projected and geographic coordinate

systems• Coordinate Reference Systems: Project or unproject coordinates by specifying projcrs objects

and additional map projection structures• Coordinate Reference Systems: Some functions perform calculations using reference ellipsoids• WMS Database: Search updated database

Mixed-Signal Blockset• Create or Modify Linear Circuits: Introducing Linear Circuit Wizard block• Measure Basic Timing Metrics: Introducing Timing Measurement block• Phase Noise Measurement Algorithm: Improved phase noise measurement using zero-crossing

threshold• Phase Noise and Jitter Measurement: phaseNoiseMeasure function updated and

phaseNoiseToJitter function added• Timing Metrics Measurement: Introducing timeDomainSignal2RiseTime,

timeDomainSignal2FallTime, and timeDomainSignal2DutyCycle functions

Model Predictive Control Toolbox• Online Time-Varying Constraints: Simulate MPC controllers with constraints that vary over the

prediction horizon at run time

Model-Based Calibration Toolbox• Lookup Tables: Simplified workflows for filling breakpoints, smoothing data, and accessing

common tasks• Models: Use CAGE to import and optimize Statistics and Machine Learning Toolbox regression

models• Design of Experiments: Add points for engine calibrations at operating boundary

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement1 Release Notes

1-20

Page 25: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

• Model-Based Calibration Toolbox Examples: Live Scripts for engine calibration, design ofexperiment, and engine modeling examples

Motor Control Blockset• Vector Plot: Visualize space vectors• Six Step Commutation Block: Implement six-step commutation for BLDC motors• Induction Motor Block: Simulate three-phase induction motors in your model• Induction Motor Control: Implement field-oriented control for AC induction motors• Motor Parameter Estimation Enhancements: Use quadrature encoder and sensorless position

computation methods• Optimized Sensorless Estimators: Enhanced Flux Observer and Sliding Mode Observer blocks

Navigation Toolbox• Grid-Based A* Path Planning: Plan path from start to goal location using the A* algorithm• Trajectory Optimal Frenet Utilities: More control in generating optimal trajectory in Frenet space• Dynamic Capsule-Based Obstacle: Model and simulate ego bodies and obstacles using collision

primitive objects in environment• SLAM Map Builder Update on Data Import: Import lidar scans and odometry data from MATLAB

workspace• Pose Graph Optimization Updates: Additional optimization functionality for pose graphs• Wheel Encoder Sensor Models: Simulate wheel encoder sensor readings• Wheel Encoder Odometry: Compute vehicle odometry using wheel encoder sensor readings• INS Sensor Model: Simulate inertial navigation and GPS readings• GNSS Sensor Model: Simulate GNSS receiver readings• Code Generation for 3-D Occupancy Map: Generate C/C++ code using occupancyMap3D object• State Space and State Validator for 3-D Occupancy Map• Generate Random Grid Maps for Planner Benchmarking• Adjust Inertial Sensor Fusion Performance Using Filter Tuner• GPS Device Object: Connect to GPS receiver from host computer• NMEA Parser Object: Parse data from standard NMEA sentences sent from GNSS receivers

Optimization Toolbox• Second-Order Cone Programming: Solve problems with second-order cone constraints• Automatic Differentiation in Problem-Based Optimization: Use gradients of optimization

expressions and constraints automatically• Optimize Live Editor Task: Create and run optimization problems using a visual interface• Code Generation for Nonlinear Least Squares and Equation Solving: Generate C code for

nonlinear least squares and systems of nonlinear equations• Nonlinear Least Squares: 'levenberg-marquardt' algorithm accepts bounds• fmincon bestfeasible Field in output Structure: Obtain the best feasible point evaluated in

solution process

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

New Features

1-21

Page 26: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

• Names in MPS Files: mpsread optionally returns variable and constraint names for continuousand mixed-integer linear programming problems

• Heuristics for intlinprog: Obtain feasible points faster

Parallel Computing Toolbox• GPU Functionality: Use new and enhanced gpuArray functions• GPU Functionality: Use new and enhanced gpuArray functions in Statistics and Machine

Learning Toolbox• GPU Functionality: Use new and enhanced gpuArray functions for working with signals, audio,

and wavelets• GPU Communications: Fast data transfer between GPUs in a parallel pool• Distributed Arrays: Use new and enhanced distributed array functionality• Tall Arrays: Use new and enhanced tall array functionality in Signal Processing Toolbox• Array Assignment: Assign gpuArray or distributed data directly into existing MATLAB arrays• Distributed Tables: Assign data directly into existing distributed tables• Query Underlying Data: Query the underlying data type of classes• Query Parallel Functionality: Query if support for PCT functionality is available• Reference Architectures: Schedule jobs to run in AWS Batch• Docker Containers: Build a container image with a customized MATLAB installation• Upgrade Parallel Computing Products Together

Partial Differential Equation Toolbox• 3-D Geometry Creation: Extrude a 2-D geometry into a 3-D geometry• Interactive Plots: Plot and inspect a PDE geometry, mesh, and solution• Finite Element Matrices for Custom Workflows: Evaluate FE matrices for time-dependent and

nonlinear models

Phased Array System Toolbox• Subarray Support in Sensor Array Analyzer• Frequency Offset in Pulsed Waveforms• Beamwidth of Array and Element Patterns• Pulse Compression Library Integration into Radar Waveform Analyzer App

Polyspace Bug FinderAnalysis Setup

• Compiler Support: Set up Polyspace analysis easily for code compiled with Renesas SH Ccompilers

• Cygwin Support: Create Polyspace projects automatically from Cygwin 3.x build commands• C++17 Support: Run Polyspace analysis on code with C++17 features

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement1 Release Notes

1-22

Page 27: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

• polyspacePackNGo: Generate and package Polyspace option files from a Simulink model• Simulink Support: Integrate Polyspace with MATLAB programmatically without user interaction• Simulink Support: Analyze code generated as model reference• Configuration from Build System: Generate a project file or analysis options file by using a JSON

compilation database• Configuration from Build System: Specify how Polyspace imports compiler macro definitions• Configuration from Build System: Generate file to store your compiler configuration

Analysis Results

• AUTOSAR C++14 Support: Check for 308 AUTOSAR C++14 rules including 61 new rules inR2020b

• CERT C Support: Check for missing const-qualification and use of hardcoded numbers• CERT C++ Support: Check for exception handling issues, memory management problems and

other rule violations• MISRA C++:2008 Support: Check for commented out code, variables used once, exception

handling issues and other rule violations• JSF AV C++ Support: Check for commented out code and methods that can be inlined• MISRA C Support: Check for commented out code• New Bug Finder Defect Checkers: Check for post-C++11 defects such as problematic move

operations, missing constexpr, and noexcept violations• Modifying Checkers: Check for non-initialized buffers when passed by pointer to certain functions• Changes to coding rules checking• Updated Bug Finder defect checkers

Reviewing Results

• Exporting Results: Export Polyspace results to external formats such as SARIF JSON• Simulink Support: Annotate Simulink blocks from Polyspace user interface to justify Polyspace

results• User Authentication: Use a credentials file to pass your Polyspace Access credentials at the

command line

Polyspace Code ProverVerification Setup

• Compiler Support: Set up Polyspace analysis easily for code compiled with Renesas SH Ccompilers

• Cygwin Support: Create Polyspace projects automatically from Cygwin 3.x build commands• C++17 Support: Run Polyspace analysis on code with C++17 features• AUTOSAR Support: Configure Polyspace analysis faster by importing unresolved data types that

lead to downstream errors• AUTOSAR Support: Specify file and folder patterns to exclude from analysis• AUTOSAR Support: Specify AUTOSAR software component behaviors and data types using morerefined syntax

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

New Features

1-23

Page 28: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

• polyspacePackNGo: Generate and package Polyspace option files from a Simulink model• Simulink Support: Integrate Polyspace with MATLAB programmatically without user interaction• Simulink Support: Analyze code generated as model reference• Configuration from Build System: Generate a project file or analysis options file by using a JSON

compilation database• Configuration from Build System: Specify how Polyspace imports compiler macro definitions• Configuration from Build System: Generate file to store your compiler configuration

Reviewing Results

• Exporting Results: Export Polyspace results to external formats such as SARIF JSON• Simulink Support: Annotate Simulink blocks from Polyspace user interface to justify Polyspace

results• User Authentication: Use a credentials file to pass your Polyspace Access credentials at the

command line

Powertrain Blockset• New ECMS Block: Model equivalent consumption minimization strategy for hybrid electric vehicle

control• SI Core Engine Block: Calculate cylinder pressure and brake torque as a function of crank angle• HEV Reference Applications: Targeted options for engine models• SI Reference Applications: Configure your engine model architecture, air path, and EGR• SI Engine Dynamometer: Resize engine using maximum torque and engine speed

RF Blockset• Antenna block: Model transmitting and receiving antennas with frequency-dependent impedance

and radiation pattern• N-Port S-Parameters block: Model S-Parameter objects with more than eight ports

RF Toolbox• Harmonic Balance in RF Budget Analyzer App: Compute output power, IP2, NF, and SNR with

nonlinear analysis• Plots in RF Budget Analyzer App: Visualize budget results and S-parameters over stages and

frequencies• Comparison Reports in RF Budget Analyzer App: Compare Friis and Harmonic Balance budget

results• Transmission Line Elements: Model distributed elements in circuit objects and RF Budget

Analyzer app

ROS Toolbox• Velodyne ROS Message Reader: Read Velodyne lidar messages from ROS in MATLAB

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement1 Release Notes

1-24

Page 29: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

• ROS Toolbox Interface for ROS Custom Messages add-on added to ROS Toolbox• ROS Toolbox requires Python 2.7 for starting a ROS Master from MATLAB

Reinforcement Learning Toolbox• Multi-Agent Reinforcement Learning: Train multiple agents in a Simulink environment• Soft Actor-Critic Agent: Train sample-efficient policies for environments with continuous-action

spaces using increased exploration• Default Agents: Avoid manually formulating policies by creating agents with default neural

network structures

Risk Management Toolbox• Market Risk: Backtest expected shortfall (ES) models using minimally biased Acerbi-Szekely tests• Market Risk: Expected shortfall (ES) model VaR level extended to 99.9%• Lifetime Credit Analysis: Probability of default models• Insurance Analysis: Techniques for analyzing insurance claims reserves

Robotics System Toolbox• RRT Planner for Manipulators: Plan collision-free motion for rigid body tree robot models• Collision Checking for Robot Meshes: Add collision meshes to rigid body tree models and check

collisions for robot configurations• Custom Messages with Gazebo: Publish and subscribe to custom message types in a Gazebo

simulation• Joint and Link States in Gazebo: Send and receive messages for robot joint and link states in a

Gazebo Simulation• Analytical Inverse Kinematics: Generate functions for inverse kinematics solutions using closed-

form solutions• Educational and Commercial Robot Models: Additional rigid body tree robot models for

manipulators and mobile robots introduced to the library of robot models

Robust Control Toolbox• ncfsyn Command: Compute loop-shaping controllers in a more numerically stable way

Sensor Fusion and Tracking Toolbox• Create Earth-centered waypoint trajectory• Track objects using grid-based RFS tracker• Generate synthetic point cloud data using simulated lidar sensor• Improve inertial sensor fusion performance using filter tuner• Perturb tracking scenarios, sensors, and trajectories for Monte Carlo simulation• Import trackingScenario object into Tracking Scenario Designer app

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

New Features

1-25

Page 30: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

• Model and simulate INS sensor in Simulink• Model and simulate Singer acceleration motion

SerDes Toolbox• IBIS-AMI Jitter Analysis: Add IBIS-AMI jitter from SerDes Designer app• PAM3 Analysis: Introducing PAM3 modulation analysis from SerDes Designer app• Eye Processing for Time Domain: Include time domain eye, clock times, and time domain metrics

in display• Improved Workflow for AMI Parameter Creation: Automatically include and maintain reference

blocks to add custom AMI parameters.• Generate Clock Times for Custom DFECDR and CDR Blocks: Introducing IBIS-AMI Clock Times

block

Signal Processing Toolbox• Signal Labeler App: Perform faster labeling• Signal Labeler App: View spectra and spectrograms• Signal Labeler App: Import data from files• Signal Segmentation: Extract and convert signal regions of interest in preparation for deep

learning• European Data Format Files: Read EDF and EDF+ files and obtain information about them• Short-Time Fourier Transform: Reconstruct signals from their STFT magnitudes and compute one-

sided estimates• Signal Labeling: Point to signal collections in the workspace or in files using signalDatastore

objects• Signal Resampling: Change sample rates of N-D arrays or resample them to uniform grids• chirp Function: Generate complex-valued swept-frequency cosine signals• pmtm Function: Perform spectral analysis using sine tapers• C/C++ Code Generation Support: Generate code for feature extraction, signal measurements, and

vibration analysis• GPU acceleration for spectral analysis and time-frequency analysis functions• GPU code generation support for zero-phased filtering and Fourier synchrosqueezed transform

functions• tall Array Support: Operate on tall arrays with the pwelch function

SimBiology• SimBiology Model Builder: Build QSP and mechanistic systems biology models

SimEvents• Use Simulink Bus Creator and Bus Selector blocks to combine and select entity paths

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement1 Release Notes

1-26

Page 31: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

SimscapeSimscape Language

• State Reset: Reinitialize state variables at events• Extended Functionality for Component Arrays: Observe array members during simulation• Extended for Loop Functionality: Include equations in for loops• Block Layout Annotation: Group and reorder parameters in the block interface• ssc_build Enhancement: Specify name and location for generated custom libraries

Foundation Library

• Variant Connector Block: Remove or disconnect components from physical network duringsimulation

• Mass and Inertia Blocks with Two Graphical Ports: Enhance flexibility of block diagram layout• Isothermal Liquid Model Template: Create new isothermal liquid models by using ssc_new or

model templates• Sensor Blocks Enhancement: Eliminate unused variables

Simulation

• Stiffness Analysis Tool: Analyze effect of particular block variables on overall system stiffness of aSimscape network

• Variable Viewer Support for Component Arrays: View variable initialization data for arraymembers

• Operating Point Support for Component Arrays: Set and get operating point targets for arraymembers

• Statistics Viewer Support for Component Arrays: View model statistics for array members• Data Logging Support for Component Arrays: Log and plot simulation data for array members• Data Logging Enhancements: Improve simulation performance and usability• daessc Solver Enhancement: Improve simulation performance

Simscape Driveline• Torque Converter Block Improvements• Break and Clutch Blocks Update: Model fault types and triggers• Gear Block Usability Improvements: Expose thermal ports and parameters by using block

parameter settings• Belt Pully Block Updates: Model a translating pulley for all belt types• Featured Example

Simscape ElectricalSimscape Electrical

• Modular Multilevel Converters Blocks: Model modular multilevel converters as a number of series-connected power submodules

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

New Features

1-27

Page 32: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

• Battery and Battery (Table-Based) Blocks Enhancements: Model the dependency of the terminalresistance on current directionality

• PMSM (Six-Phase) Block: Model a six-phase permanent synchronous motor• Synchronous Machine (Six-Phase) Block: Model a six-phase synchronous machine• Ideal Switching Devices Blocks Enhancements: Improve switching loss implementation and

thermal modeling options• Diode Block Enhancement: Model a tabulated I-V diode• ee_convertedmosfetvalidation Function: Validate MOSFET conversions by generating

characteristics and comparing results with LTspice• SPICE Conversion Assistant: Use table SPICE function• SPICE NMOS and SPICE PMOS Blocks Enhancements: Model the transistor capacitances with

Meyer gate or charge conservation models• Current-Controlled Switch and Voltage-Controlled Switch Blocks Enhancements: Model a variable-

resistance or a short-transition switch• Motor & Drive (System Level) Block: Represent a generic motor and drive with closed-loop torque

control• DC Motor Block Enhancement: Model armature winding or field winding faults• Unipolar Stepper Motor Block: Model mutual inductance• Simplified Synchronous Machine Block: Model a simplified synchronous machine with

electromotive force (EMF)• Simplified Synchronous Machine Measurement Block: Output a per-unit measurement associated

with a connected Simplified Synchronous Machine block• Delta-Wound Machines: Support zero sequence dynamics• Power Sensor (Three-Phase) Block: Model an ideal sensor for active and reactive power

measurement• Load-Flow Analyzer App Enhancements: Perform a load-flow analysis through an improved

toolstrip and model highlighting• Dynamic Load Block: Model a faultable dynamic load for a DC or AC supply• Dynamic Load (Three-Phase) Block Enhancement: Model a faultable balanced three-phase

dynamic load for a three-phase supply• Constant Power Load Block Enhancement: Model a faultable constant power load for an AC supply• Constant Power Load (Three-Phase) Block: Model a faultable constant power load for a three-

phase supply• Delta-Connected Load, Wye-Connected Load, and RLC (Three-Phase) Blocks Enhancements:

Model initial conditions in the Variables tab• Expanded Support for Power Dissipation Data: View power_dissipated simulation logging data

for all three-phase transformer blocks• PWM Generator (Multilevel) Block: Generate pulse width modulated signal or waveform for

modular multilevel converters• Expanded Pulse Width Modulation Library: Generate gating times and controlling pulses for

power converter control• Featured Examples

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement1 Release Notes

1-28

Page 33: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

Specialized Power Systems

• Single-Phase Decoupling Transmission Line• Three-Phase Decoupling Transmission Line• Asymmetrical PI-Section Block Enhancement: Model multiple phases• PV Array Block Enhancement: Increased amount of module options• Featured Examples

Simscape Fluids• Model Heat Exchange Between a Thermal Liquid and Moist Air With the Heat Exchanger (TL-MA)

Block• Model Heat Exchange Between Thermal Liquid and Two-Phase Fluids With the Condenser

Evaporator (TL-2P) Block• Model a Refrigeration Cycle With the Thermostatic Expansion Valve (2P) Block• New Predefined Two-Phase Fluid Properties Block• Viewable Source Files for Actuators (Isothermal Liquid)• hydraulicToIsothermalLiquid Conversion Tool: Upgrade hydraulic models in Simscape

Fluids to use isothermal liquid blocks• Centrifugal Pump (IL) and Fixed-Displacement Pump (IL) Blocks: Select a predefined

parameterization

Simscape Multibody• Flexible Beams Enhancement: Create custom frames• Joint Enhancement: Change joint mode from disengaged to normal during simulation• Plane Block: Create an infinite plane for contact• Point Block: Create a point for contact• Spatial Contact Force Block Enhancement: Use revolved solids for contact• KinematicsSolver Enhancement: Specify maximum number of solver iterations• Featured Examples

Simulink Check• Collect and view requirements testing data by using the Model Testing Dashboard• Faster calculation of Model Advisor metric checks• Updates to JMAAB Checks• Improvements to Model Advisor Exclusion Editor• Model Advisor checks for verifying compliance with High-Integrity System Modeling guidelines• Refactor models by replacing exact clones with Subsystem Reference blocks

Simulink Code Inspector• Code inspection support for more code generation optimizations

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

New Features

1-29

Page 34: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

• Additional model compatibility checks• Additional code inspection support for code generation model configuration parameter settings• Additional code inspection support for Simulink blocks and Stateflow charts

Simulink CoderModel Architecture and Design

• Share protected models with their dependencies

Code Interface Configuration and Integration

• Streamlined model data configuration for code generation• Copy code mappings when you convert subsystems to referenced models

Code Generation

• Clearer pattern of ordering of local variable declarations• Enhanced status messages for code generation• Removal of space in #define• Code generation using C++11 standard math library• Code descriptor information for tunable breakpoint set data in Lookup table blocks

Deployment

Performance

• Faster code generation without generating model reference simulation targets• Unused variables elimination for n-D Lookup Table blocks in generated code

Verification

Simulink Compiler• Automatically Generate a MATLAB App for the Model• Specify Runtime Callbacks in the Deployed Applications

Simulink Control Design• linearize and slLinearize: Linearize a Simulink model to a sparse state-space model

Simulink Coverage• Load and view coverage data from previous releases• Justify missing coverage for individual MCDC objectives• Collect and view requirements testing data by using the Model Testing Dashboard• Deprecated coverage configuration parameters

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement1 Release Notes

1-30

Page 35: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

• Simplified coverage configuration parameters

Simulink Design Optimization• App names changed• Response Optimizer and Parameter Estimator Apps: Sequential quadratic programming algorithm

improved

Simulink Design Verifier• Support for system objects• Detect violations of high-integrity system modeling guidelines• Test case generation: Simplified parameters, progress indicators, and additional report details• Usability improvements for dead logic detection

Simulink Desktop Real-Time• Packet Input and Output blocks support CAN and CAN FD message bus datatypes

Simulink PLC Coder• Target-independent absolute-time temporal logic• Code generation for IEC integer data types for tiaportal_double target• Tunable parameters that have fixed-point data type• Suppress initial value for externally defined variables in generated code• Code generation by using InOut variable for Siemens targets

Simulink Real-Time• Create graphical instrument panels and applications by using App Designer• 64-bit POSIX compliant real-time operating system for target computers• Trace signals, tune parameters, stream data by using Simulink Real-Time Explorer• File logging, execution profiling, and other new blocks in Simulink Real-Time block library• Test workflow requires only MATLAB and Simulink Real-Time• Target Computer Upgrade by Using Speedgoat Software• Bus Signal Names Display Limitation in Simulation Data Inspector

Simulink Report Generator• Find and report on Simulink data dictionaries• slreportgen.report.ExecutionOrder: Report on system task and block execution order• slreportgen.report.ModelConfiguration: Report on active configuration set of model• slreportgen.report.TestSequence: Report on a test sequence block• slreportgen.utils.hasDiagram: Check if object has a diagram

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

New Features

1-31

Page 36: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

• slreportgen.utils.isModel: Check if object is model• New property for specifying title generated by slreportgen.report.ModelVariable reporter• append method for Report API reports

Simulink Requirements• Traceability Matrix: Select multiple cells, create and delete links in batch, track changes, and

export• Customize link sets and links with custom attributes programmatically or in the Requirements

Editor• Verify requirements with test cases created with MATLAB Unit Test framework• User interface enhancements• Programmatic interface enhancements

Simulink Test• Multiple scenarios in Test Sequence block• Parallel test execution on a remote cluster• Test failure debugging using Model Slicer• Multi-release equivalence tests• Test case reordering• MATLAB-based Simulink tests• Generate tests for models and reuse test files using Test for Model Component wizard• Model reference parameter overrides• Reusable library subsystem SIL testing• Conditional breakpoints in Test Sequence block• Temporal Assessment callback and t (time) symbol• Test harness locking and model synchronization• Test harness metadata storage anywhere on MATLAB path• Baseline data file updates for Excel files• Bus element logging• Model Testing Dashboard

SoC Blockset• AXI Stream Transmit: Stream data from software to a hardware IP• FPGA IP Core interrupt: Trigger an event-driven software task via interrupt• ADC Interface Block: Simulate hardware ADC of signals• PWM Interface Block: Simulate hardware PWM output signals• Multiprocessor Simulation: Simulate SoC models with multiple processors• Interprocessor Communication (IPC): Simulate communication between multiple processors• Task Manager Block Enhancements: Deploy tasks as ISRs on bare metal devices

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement1 Release Notes

1-32

Page 37: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

• Model Templates: Use added templates or enhanced existing template to design required SoCmodel

• Visualize logged Stateflow states in the Logic Analyzer• Updates to supported software

Stateflow• Connect dashboard blocks to Stateflow• Design state machines to control MATLAB apps• Programmatically extract actions from states and transitions• Visualize chart behavior with heat maps• Execute standalone charts saved in earlier versions of Stateflow• Use the Sequence Viewer in the toolstrip to visualize message flow, function calls, and state

transitions• Generated default switch cases determined alphabetically• Multidimensional custom code function support for row-major

Statistics and Machine Learning ToolboxDeployment

• ClassificationSVM Predict and RegressionSVM Predict Simulink Blocks: Integrate the predictionof support vector machine (SVM) models into Simulink

• Generate single-precision C/C++ code for the prediction of machine learning models (requiresMATLAB Coder)

Machine Learning

• fitrauto Function: Choose a regression model automatically, across a selection of model typesand hyperparameter values

• Interpret a machine learning model using local interpretable model-agnostic explanations (LIME)• Incremental Learning: Train linear regression or binary classification models on incoming

observations from streaming data, and assess performance in real time• Adaptive Scale-Invariant SGD for Incremental Learning• Semi-supervised Learning: Train machine learning models on partially labeled data using the

fitsemigraph and fitsemiself functions• partialDependence Function: Analyze relationships between features and predicted responses

through marginalization• Categorical and table support for kernel and linear functions• fitcsvm and fitrsvm Functions: Improved performance with the sequential minimal

optimization (SMO) solver

Statistics

• GPU Support: grp2idx, fitlm, fitglm, glmfit, and glmval now accept gpuArray (requiresParallel Computing Toolbox)

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

New Features

1-33

Page 38: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

Visualization

• plotPartialDependence Function: Plot partial dependencies for classification models

Symbolic Math Toolbox• vpasum Function: Evaluate numerical summation using variable precision• log2 Function: Evaluate mantissas and exponents• cumsum and cumprod Functions: Ignore NaNs using 'omitnan'• symtrue and symfalse Functions: Create symbolic matrices and arrays of symbolic logical

constants• Function Input Arguments: Support for multidimensional arrays of symbolic expressions

System Composer• Model to Model Allocations: Establish traceable and directed relationships between architecture

elements in source and target models• Enhanced workflows with Architecture Views• Hierarchy Views: Display component hierarchy as a tree diagram• Interfaces in linked dictionaries• Interface Editor enhancements• Support for component behavior using Simulink models with message input and output• Stereotype-Based Styling: Style connectors based on stereotypes and use custom icons for

component stereotypes• Support for protected models as component behaviors• Import and export requirement links along with the architectural models

System Identification Toolbox• Transfer Function and Polynomial Models: Estimate and apply initial conditions

Text Analytics Toolbox• Keyword Extraction: Extract keywords using RAKE and TextRank algorithms• Text Preprocessing: Preprocess text ignoring case• Part-of-Speech Tagging: Specify abbreviations for sentence detection

Vehicle Dynamics Blockset• Hitches: Implement hitch forces, moments, and lateral offsets in all vehicle and trailer blocks• Vehicles and Trailers: Implement 6DOF trailers and vehicles with three axles• Simulation 3D Blocks: Visualize tractors and trailers in the Unreal Engine 3D environment• Driver Blocks: Implement Stanley method for lateral control• Camera Views: Usability improvements, including controls for visualizing vehicle acceleration,

pitch, and roll

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement1 Release Notes

1-34

Page 39: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

Vehicle Network Toolbox• Enhanced Simulink Support for XCP: New XCP UDP Bypass block• MDF read Function: Enhanced performance reading MDF-files• Enhanced MDF Reading: Return physical data when possible

Vision HDL Toolbox• Corner Detector Block and System Object: Detect features using Harris algorithm• Region of Interest (ROI) Resource Sharing: Share hardware resources and streaming control

signals between vertically aligned regions• Blob Analysis Example: Detect and label connected components in streaming video• Multipixel and Multicomponent Streaming: Implement Lookup Table and Pixel Stream Aligner for

high-frame-rate or color video• Image Stabilization Example: Shift frames to align position of binary features

WLAN Toolbox• App-Based WLAN Waveform Generation• Non-HT Duplicate Transmission and Reception• MAC Frame Generator and Parser Updates• Write MAC Frames to PCAP File

Wavelet Toolbox• Empirical Wavelet Transform: Perform adaptive signal decomposition using fully-automated

spectrum segmentation• CWT Marginals: Obtain and visualize time-averaged and scale-averaged wavelet spectrum• GPU Computing: Accelerate wavelet functions on your GPU• GPU Code Generation: Automatically generate GPU code for wavelet functions• C/C++ Code Generation: Automatically generate code for wavelet functions

Wireless HDL Toolbox• 5G NR HDL MIB Recovery Reference Application: Implement 5G NR MIB recovery subsystem on

FPGA or ASIC• OFDM Transmitter and Receiver Reference Applications: Implement custom OFDM wireless

communication system on FPGA or ASIC• AWGN Channel Example: Implement AWGN generator on hardware to BER performance

evaluation of wireless communication systems• Digital Predistorter Example: Implement digital predistorter to correct nonlinearities and memoryeffects from power amplifier

• 5G NR Polar Decoder Improvements: Select longer list lengths and uses target RNTI to improvedecoding performance

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

New Features

1-35

Page 40: R2020 Release Notes · Installation Changes..... 1-2 Licensing Changes..... 1-2 New Features..... 1-3. Confidential Prerelease Documentation — Subject to Nondisclosure Agreement

• 5G NR Polar Encoder Improvements: Specify message length and rate-matched length fromparameters

• 5G NR LDPC Decoder and Encoder Improvements: Support scalar input and implementnormalized min-sum approximation algorithm

• RS Encoder: Encode message data to RS codeword• OFDM Modulator Throughput Enhancement: Increase throughput using frame-based input

Confidential Prerelease Documentation — Subject to Nondisclosure Agreement1 Release Notes

1-36