R2022a at a Glance

Discover What's New

Get more out of MATLAB and Simulink by downloading the latest release.

R2022A发布亮点

New Products

主要更新

产品发布细节

MATLABProduct Family

MATLAB

  • 3 New Apps: Data Cleaner, Hardware Manager, Code Compatibility Analyzer
  • pcode: Use newpcodefile format with stronger obfuscation
  • Python:使用更简单的关键字传递name=value语法和编辑器支持Python代码万博1manbetx
  • 图形:创建动画GIF文件;直接将桌子传递给plot,plot3,polarplot和其他线plotting functions
  • App Building: Create custom UI components with App Designer
  • 实时编辑:开发自己的实时编辑任务
  • N-D数组数学:tensorprod,Pagemldivide,Pagemrdivide, andpageinv
  • Parquet Files: Use conditional filtering (Predicate Pushdown) withrowfilter; support for reading and writing of row groups and nested data structures

AI, Data Science, and Statistics

深度学习工具箱

  • Model Pruning:创建模型的压缩版本,以消耗较少的计算资源
  • MATLABDeep Learning Model Hub: Discover and use pretrained deep learning models
  • Deployment of Imported Models: Generate code for additional Keras and ONNX built-in layers
  • 实验管理器批处理实验:在远程群集上同时运行多个实验(需要MATLAB并行服务器)
  • 1D卷积网络:创建和训练用1-D转置卷积的序列和时间序列数据的网络

统计和机器学习工具箱

  • Machine Learning Apps: Save and resume sessions, rank and select features by importance, and reserve data for testing
  • 增量机器学习:在流数据上执行漂移检测;训练内核和多级线性模型
  • Deployment: Generate C/C++ code for inference with shallow neural nets
  • Simulink: Simulink block for Gaussian process regression

曲线拟合工具箱

  • Curve Fitter app: Use new toolstrip design for improved usability; select fitting and validation data from MATLAB table data types

控制系统

Model Predictive Control Toolbox

  • Misra C 2012:实施MISRA C:符合线性MPC和ADAS块的2012符合控制器万博1manbetx

System Identification Toolbox

  • 非线性系统标识:创建基于机器学习算法的回归功能的Hammerstein-Wiener模型

万博1manbetxSimulink设计优化

  • Surrogate Optimization Solver in Response Optimizer and Parameter Estimator Apps: Speed up time-consuming optimization problems

Reinforcement Learning Toolbox

  • Model-Based Policy Optimization Agent: Use a model of the environment to improve sample efficiency and exploration
  • Multi-Agent Reinforcement Learning: Train multiple agents in a centralized manner for more efficient exploration and learning

Predictive Maintenance Toolbox

  • Deployment: Generate C/C++ code for RUL similarity models, rotating machinery metrics, and nonlinear signal features
  • Diagnostic Feature Designer: Extract stationary time series features from signal data

Math and Optimization

Optimization Toolbox

  • Problem-Based Optimize Live Editor Task: Solve optimization problems and systems of equations using a visual interface

Global Optimization Toolbox

  • Problem-Based Optimize Live Editor Task: Solve global and multiobjective optimization problems using a visual interface

Symbolic Math Toolbox

  • 符号矩阵函数:在紧凑型矩阵符号中执行参数依赖性线性代数计算

部分微分方程工具箱

  • 电磁分析:使用有限元方法解决时间谐波波散射和传输问题
  • 热还原订单模型:用于更快执行的热模型的近似动态特性(例如,电池和CPU)

应用程序部署

MATLABCompiler SDK

  • 微服务集成:使用compiler.package.microserviceDockerImagefunction

MATLABProduction Server

  • Web请求处理程序:支持自定义URL路线和请万博1manbetx求有效载荷

Code Generation

AUTOSAR Blockset

  • Adaptive AUTOSAR: Useara :: com方法andara::com随着面向服务的通信支持活动万博1manbetx
  • 经典Autosar:模拟基本软件组件事件故障和恢复,包括发行版19-11

DDS Blockset

  • Support for RTI Connext Micro communication middleware

Fixed-Point Designer

  • 估计数据记忆消耗和运算符的设计成本,以生成代码计数

MATLAB编码器andGPU编码器

  • Generate generic C/C++ code for more deep learning layers
  • Improve performance for deep learning network layers, including SIMD
  • Support for additional TensorFlow-Keras and ONNX built-in layers
  • Incorporate pretrained TensorFlow Lite models for simulation and code generation

万博1manbetxSimulink编码器

  • Specify tunable parameters for protected models

Embedded Coder

  • Use deployment types to simplify configuration of top and reference model interfaces
  • Improve compliance for MISRA C:2012, MISRA C++:2008, and AUTOSAR C++14
  • 配置文件堆栈用法以评估记忆消耗

万博1manbetxSimulink产品家族

万博1manbetx

  • Streamline masking workflows with new mask editor
  • Integrate custom C++ class with C Function block
  • 通过在引用模型中使用本地求解器来提高模拟性能
  • 万博1manbetxSimulink基础培训课程

Simulink Compiler

  • 应用程序创建:从Simulink模型中生成可配置的MATLAB UI,而无需编写代码万博1manbetx
  • FMU导出:包装文件和文件夹以及受保护的型号进入独立FMU

Simulink Report Generator

  • 总结表对象中的sim万博1manbetxulink模型内容
  • 在网络视图中包含用户笔记

Event-Based Modeling

Stateflow

  • Integration of Stateflow breakpoints in the Simulink Breakpoints List pane
  • 改进了使用进入和退出连接的原子子图的工作流程
  • 现在在状态过渡表和真实表块中支持的字符串数万博1manbetx据类型

物理建模

SIMSCAPE电气

  • 用新的电解室模型生产氢
  • 通过从250多个制造商特定的数据集中选择参数化太阳能电池板
  • Expanded motor library and features, including switched-reluctance machines, PMSM , and detailed iron losses

Real-Time Simulation and Testing

万博1manbetx实时模拟

  • 在Linux开发计算机上安装和使万博1manbetx用Simulink实时
  • 从模型或实时应用程序自动创建应用程序设计器仪表板
  • Improved test automation with third-party tools with ASAM XIL API classes and methods for MAPort read/write, SignalFactory, SignalGeneratorFactory, and SignalGenerator

Systems Engineering

System Composer

  • Client-Server Interfaces: Model distributed software service architectures
  • Use subsystem references to add reusable Simulink and Simscape behaviors to components
  • Compare two versions of an architecture model using the Comparison Tool

验证,验证和测试

Requirements Toolbox

  • Author, link, and validate requirements within MATLAB
  • Trace requirements for test cases created in MATLAB Unit Test
  • 使用需求表块正式通过逻辑表达式正式要求
  • 轨道要求受测试案例变化影响

Simulink Check

  • Author custom checks that run at edit-time
  • Justify and hide check violations
  • Include System Composer models in the Model Testing Dashboard artifact hierarchy
  • 重构类似的克隆在模型中的任何地方
  • 使用模型切片机的调试等效测试失败

万博1manbetxSimulink测试

  • 新的逻辑和时间评估功能和课程
  • Observer support for messages

Simulink Design Verifier

  • 分析需求表中撰写的要求,以检查一致性和完整性

Signal Processing

Signal Processing Toolbox

  • AI Workflows: Preprocess, extract features, and label signals
  • Generate C/C++ code for more than 200 toolbox functions
  • GPU support for feature extraction, spectral analysis, spectral measurements, and transforms

DSP Toolbox

  • 光谱分析仪具有更好的响应能力和工具条接口,用于分析,估计和测量参数

Wavelet Toolbox

  • Visualize scalogram with Wavelet Time-Frequency Analyzer app

音频工具箱

  • New examples for AI, room acoustics, and electroacoustic modeling

Radar

雷达工具箱

  • Model land and sea surface clutter and reflectivity

Mapping Toolbox

  • Create custom basemaps for offline use
  • Capture image from basemap with georeferencing information

Image Processing and Computer Vision

Computer Vision Toolbox

  • 用于图像处理和计算机视觉的新图像数据类型万博1manbetx

激光雷达的工具箱

  • LIDAR传感器模型:模拟激光雷达传感器并生成点云数据

FPGA,ASIC和SOC开发

HDL编码器

  • Generate IP core for Xilinx Versal devices
  • 使用Microsemi Libero Soc的参考设计工作流程

Deep Learning HDL Toolbox

  • 网络自定义层创建,注册,验证和部署

DSP HDL Toolbox

  • 新产品:DSP算法的模型硬件实现并生成HDL(使用HDL编码器)

Vision HDL Toolbox

  • 万博1manbetx支持每个时钟的多功能,以进行直方图和双侧过滤器块

无线HDL工具箱

  • Use DVB-S2 receiver reference application

HDL Verifier

  • Use Vivado simulator for cosimulating an HDL design with a Simulink or MATLAB test bench
  • 使用硬件缓冲来改善fpga-in-in-the-in-the-in-the-in-the-in-the-in-ny-ny-nim仿真性能

测试和测量

Industrial Communication Toolbox

  • New Product: Exchange data over OPC UA, Modbus, MQTT, and other industrial protocols
  • 直接从Osisoft PI服务器访问工厂和制造数据

Data Acquisition Toolbox

  • TDMS文件支持:从万博1manbetx单个Ni TDMS格式文件中读取数据或使用DataStore读取TDMS文件的集合

仪器控制工具箱

  • UDP Explorer App: Create a UDP socket and communicate over networks using UDP protocol
  • New Instrument Driver Interface: Connect to instruments using IVI and VXI插件司机

Vehicle Network Toolbox

  • MDF文件支持:创万博1manbetx建MDF文件并直接从MATLAB写入MDF文件

图像采集工具箱

  • Image Acquisition Explorer App: Preview live video data from your image acquisition hardware and configure device-specific properties and acquisition settings

无线通信

通信工具箱

  • 无线通信Onramp: Learn the basics of simulating a wireless communications link in MATLAB

Bluetooth Toolbox

  • New Product: Simulate, analyze, and test Bluetooth communications systems

Wireless Testbench

  • New Product: Explore and test wireless reference applications in real time on SDR hardware

自主系统

Automated Driving Toolbox

  • Cosimulate scenarios in RoadRunner with actors modeled in MATLAB and Simulink

Robotics System Toolbox

  • Robot Scenarios and Sensor Models: Construct cuboid scenario and simulate sensor readings for robotics applications
  • 逆运动学设计器应用程序:可视化和调整倒数运动求解器并创建配置

无人机工具箱

  • Hardware in the Loop: Enable hardware-in-the-loop (HIL) simulation with Pixhawk Autopilot and Simulink plant model
  • UAV Scenario Designer App: Design and visualize UAV simulation scenarios interactively

RoadRunner Scenario

  • 新产品:为自动驾驶模拟创建和播放场景

航天

航空空间

  • 3D模拟:在模拟3D飞机块中支万博1manbetx持自定义网格和飞机照明

计算融资

Financial Instruments Toolbox

  • Instrument Pricing: Model trinomial trees withFinpricer
  • 股权工具:计算商品期货,权益指数期货和FX期货的价格和定价
  • 实时任务:交互式校准选项定价模型

Econometrics Toolbox

  • Conduct cointegration tests and fit multivariate time series models interactively in the Econometrics Modeler app
  • Bayesian State-Space Models: Analyze posterior distributions of random parameters in multivariate linear state-space models

Risk Management Toolbox

  • Lifetime Credit Risk Analysis: Calculate lifetime expected credit loss
  • Fairness in Credit Scoring Example: Calculate fairness metrics and detect bias at the data and model level

Financial Toolbox

  • Perform Quasi-Monte Carlo simulation
  • 投资组合管理:管理风险奇偶校验组合
  • 回测框架示例:带有深度学习策略的回测

代码验证

Polyspace Access

  • New web dashboard for improved user experience
  • Manage Polyspace Access projects programmatically
  • Visual Studio Code plug-in with new views for configuration, results, baseline, and mass findings justification

polyspace错误查找器和polyspace bug finder服务器

  • Improve analysis time by using incremental compilation
  • Support 1,216 C/C++, MISRA C++, CERT-C++, CWE, and AUTOSAR C++ rules with 46 new checks

汽车

AUTOSAR Blockset

  • Adaptive AUTOSAR: Useara :: com方法andara::comevents with service-oriented communication support
  • 经典Autosar:模拟基本软件组件事件故障和恢复,包括发行版19-11

Model-Based Calibration Toolbox

  • Battery Calibration: Characterize an Equivalent Circuit Battery
  • Transient Calibration: Get faster optimization for Simulink models with first-order transient systems

Powertrain Blockset

  • Use Virtual Vehicle Composer app to configure and build full vehicle models, including component sizing, fuel economy, and drive cycle tracking
  • Motor Dynamometer Reference Application: Resize and evaluate electric motors and controllers

Vehicle Dynamics Blockset

  • 使用虚拟车辆作曲家应用程序配置和构建完整的车辆模型,包括骑行处理分析和虚幻引擎可视化
  • 使用悬架块实施运动学和合规性测试特征