49
1 © 2015 The MathWorks, Inc. What’s New in MATLAB and Simulink Michael Glaßer

What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

  • Upload
    others

  • View
    36

  • Download
    0

Embed Size (px)

Citation preview

Page 1: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

1© 2015 The MathWorks, Inc.

What’s New in MATLAB

and Simulink

Michael Glaßer

Page 2: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

2

ApplicationBreadth

Products for the work you do

WorkflowDepth

Support for your entire workflow

PlatformProductivity

Getting your work done faster

Page 3: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

3

ApplicationBreadth

Products for the work you do

WorkflowDepth

Support for your entire workflow

PlatformProductivity

Getting your work done faster

WorkflowDepth

PlatformProductivity

ApplicationBreadth

▪ Create Your Designs Faster

▪ Simplify Analysis

▪ Simulate Faster and Scale Your Work

▪ Collaborate

Page 4: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

4

Create Your Designs Faster

MATLAB

Live Editor

Page 5: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

5

Create Your Designs Faster

testCase.press(myApp.checkbox)

testCase.choose(myApp.discreteKnob, "Medium")

testCase.drag(myApp.continuousKnob, 10, 90)

testCase.type(myApp.editfield, myTextVar)

MATLAB

App Designer

Page 6: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

6

Create Your Designs Faster

MATLAB Simulink

Page 7: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

7

Create Your Designs Faster

MATLAB Simulink Stateflow

Page 8: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

8

Simplify Analysis

▪ Econometric Modeler app

– Perform time series analysis, specification

testing, modeling, and diagnostics

▪ Analog Input Recorder app

– Acquire and visualize analog input signals

▪ Wavelet Signal Denoiser app

– Visualize and denoise time series data

These interactive applications automate

common technical computing tasks

Econometrics ToolboxData Acquisition ToolboxWavelet Toolbox

Simplify Analysis with Apps

Page 9: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

9

Simplify Analysis by Simulating at Wall Clock Speed

▪ Especially for models controlled and monitored

via Dashboard blocks and other displays

▪ Useful when model is connected to hardware

Slow down the simulation for easier

model interactivity

Page 10: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

10

Scale Your Work

▪ Run multiple parallel simulations with parsim

▪ Monitor simulation status and progress in the

Simulation Manager

Use parallel computing to run multiple

simulations faster

Parallel Computing ToolboxMATLAB Distributed Computing Server

Page 11: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

11

Scale Your Work

▪ Use familiar MATLAB functions and syntax

▪ Support for hundreds of functions

▪ Works with Spark + Hadoop clusters

Use tall arrays to manipulate and analyze

data that is too big to fit in memory

Statistics and Machine Learning Toolbox

Page 12: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

12

Simulate Faster

▪ All MATLAB code can now be JIT compiled

▪ MATLAB runs your code over twice

as fast as it did just three years ago

▪ No need to change a single line of your code

▪ Increased speed of MATLAB startup in R2018a

Redesigned execution engine

runs MATLAB code faster

Page 13: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

13

Team Collaboration

Use advanced software development features

to manage, test, and integrate MATLAB code

Page 14: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

14

Team Collaboration

Use advanced software development features

to manage, test, and integrate MATLAB code

Identify differences between model

elements, Stateflow charts, and

MATLAB Function blocks

Page 15: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

15

WorkflowDepth

PlatformProductivity

ApplicationBreadth

▪ Create Your Designs Faster

▪ Simplify Analysis

▪ Simulate Faster and Scale Your Work

▪ Collaborate

Page 16: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

16

WorkflowDepth

PlatformProductivity

ApplicationBreadth

▪ Deployment of MATLABAlgorithms and Applications

▪ Code Generation fromSimulink Models

▪ Verification and Validation

Page 17: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

17

Deploy MATLAB Algorithms and Applications

Analyze Data

Data

exploration

Preprocessing

Domain-specific

algorithms

Access Data

Sensors

Files

Databases

Deploy

Embedded

devices

Desktop apps

Enterprise

systems

Develop

AI model

Algorithm

development

Modeling &

simulation

Page 18: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

18

MATLAB CompilerMATLAB Compiler SDKMATLAB Production Server

Deploy MATLAB Algorithms and Applications

▪ Standalone desktop applications

▪ Add-ins for Microsoft Excel

▪ Software components to integrate

with other languages

(C/C++, .NET, Python, Java)

▪ Software components for web and

enterprise applications

Share your work outside of MATLAB without

having to recode your algorithms

Analyze Data

Data

exploration

Preprocessing

Domain-

specific

algorithms

Access Data

Sensors

Files

Databases

Deploy

Embedded

devices

Desktop apps

Enterprise

systems

Develop

AI model

Algorithm

development

Modeling &

simulation

MATLAB Production Server

Request

BrokerMobile / Web

Application

< >

3rd Party

Dashboard

Enterprise

Application

Data Sources

Edge Devices

Analytics Development

Page 19: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

19

Deploy MATLAB Algorithms

▪ Generate C code for predictive machine learning

and deep learning models

▪ Generate optimized CUDA code for deep learning,

embedded vision, and autonomous systems

Deploy machine learning and deep learning

models using automatically generated code

MATLAB CoderGPU Coder

Analyze Data

Data

exploration

Preprocessing

Domain-

specific

algorithms

Access Data

Sensors

Files

Databases

Deploy

Embedded

devices

Desktop apps

Enterprise

systems

Develop

AI model

Algorithm

development

Modeling &

simulation

Page 20: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

20

PID Control Tuning

▪ Automatically tune PID controller gains in

real time against a physical plant

▪ No model of plant dynamics required

▪ Deploy the auto-tuning algorithm to

embedded software using automatic code

generation

Implement an embedded PID

auto-tuning algorithm

Simulink Control Design

Page 21: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

21

Prepare Your Model for Code Generation

Prepare model components

for code generation

Simulink CoderFixed-Point Designer

Page 22: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

22

Prepare Your Model for Code Generation

Prepare model components

for code generation

Prepare model data

for code generation

Simulink CoderFixed-Point Designer

Page 23: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

23

Generate Code from Simulink Models

▪ View and define implementation data

in one place

▪ View implementation details without

model details

▪ Improve code performance and ease

integration with other C code

Access and define all the information in

your model related to code generation

Embedded Coder DictionaryCode Perspective

MATLAB CoderEmbedded CoderSimulink Fixed-Point

Row-major memory layout option

Page 24: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

24

Connecting Your Design to Hardware

▪ Live streaming to and from hardware

▪ Run Simulink models on low-cost hardware,

such as Arduino, Raspberry Pi, and LEGO

▪ Automatically generate code and run it on

microprocessors, FPGAs, and more.

Connect directly to hardware with

support packages

Arduino

Raspberry Pi Microsemi FPGA

ADALM-PLUTO

ARM Cortex

LEGO

Page 25: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

25

Manual architecture

design & coding

Specification doc

Deploying to FPGA or ASIC Hardware

HDL VerifierHDL CoderFixed-Point DesignerVision HDL ToolboxLTE HDL Toolbox

Algorithm

Fixed-Point HDL

FPGA/ASIC

Implementation

Algorithm w/ Hardware

Implementation

HDL

CoderHD

L V

eri

fier

Vision HDL Toolbox LTE HDL Toolbox

Matrix SupportNative Floating Point

HDL Checks in Model Advisor

Page 26: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

26

Verification and Validation

Products for the entire workflowSimulink Coverage

Simulink Check

Simulink Design Verifier

Polyspace

Simulink Requirements

Simulink Test

now supports

Page 27: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

27

WorkflowDepth

PlatformProductivity

ApplicationBreadth

▪ Deployment of MATLABAlgorithms and Applications

▪ Code Generation fromSimulink Models

▪ Verification and Validation

Page 28: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

28

WorkflowDepth

PlatformProductivity

ApplicationBreadth

▪ Autonomous Systems

▪ Wireless Communications

▪ Artificial Intelligence (AI)

Page 29: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

29

Designing Autonomous Systems

Sense

PerceiveDecide

& Plan

Act

Page 30: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

30

Sense

PerceiveDecide

& Plan

Act

Sense

PerceiveDecide

& Plan

Act

Computer Vision System ToolboxRobotics System Toolbox

▪ Segment and register lidar point clouds

▪ Lidar-Based SLAM: Localize robots and

build map environments using lidar sensors

Mapping of environments using sensor data

Designing Autonomous Systems

Page 31: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

31

Designing Autonomous Systems

▪ Object detection and tracking

▪ Semantic segmentation using deep learning

Understanding the environment using computer

vision and deep learning techniques

Sense

PerceiveDecide

& Plan

Act

Neural Network ToolboxComputer Vision System ToolboxAutomated Driving System Toolbox

CamVid Database: Brostow, Gabriel J., Julien Fauqueur, and Roberto Cipolla. "Semantic object classes in video: A high-definition ground truth database." Pattern Recognition LettersVol 30, Issue 2, 2009, pp 88-97.

Page 32: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

32

Designing Autonomous Systems

▪ Interactively design synthetic driving scenarios

composed of roads and actors

(vehicles, pedestrians, etc.)

▪ Generate visual and radar detections of actors

Design synthetic driving scenarios to test

controllers and sensor fusion algorithms

Sense

PerceiveDecide

& Plan

Act

Automated Driving System Toolbox

Driving Scenario Designer App

Page 33: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

33

Designing Autonomous Systems

▪ Use prebuilt blocks instead of starting from

scratch

▪ Simplified application-specific interfaces for

configuring model predictive controllers

▪ Flexibility to customize for your application

Model predictive control for adaptive cruise

control and lane-keeping algorithms

Model Predictive Control Toolbox

Sense

PerceiveDecide

& Plan

Act

Page 34: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

34

Full Vehicle Simulation

Vehicle Dynamics Blockset

Ride & handling Chassis controls Automated Driving

Sense

PerceiveDecide

& Plan

Act

Page 35: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

35

Design with the Latest Wireless Standards

802.11ax

NB-IoT

Page 36: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

36

Model-Based Design for Wireless Communications

PROTOTYPE

DESIGN

IMPLEMENT

FPGA ASICProcessor

SDR Platform

C Code HDL

BasebandDigital

Front EndDAC PA

LNAADCBasebandDigital

Front End

Digital PHY

RECEIVER

TRANSMITTER

AntennaRF Front End

➢ Algorithm Design and Verification

➢ RF, Digital and Antenna Co-Design

➢ System Verification and Testing

➢ Rapid Prototyping and Production

Code Generation and Verification

Fixed-Point Designer

HDL Coder

HDL Verifier

LTE HDL Toolbox

Embedded Coder

Page 37: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

37

RF and Antenna Design and Prototyping

▪ RF top-down design with RF Budget Analyzer app

▪ Adaptive hybrid beamforming and MIMO system modeling

▪ RF Power Amplifier modeling and DPD linearization

▪ RF propagation and 3D terrain visualization

▪ Design and fabrication of printed (PCB) antennas

Use RF and Antenna models through

your entire development cycleFrom idea …

… to implementation

????

?

???

?? ?

??? ?

Antenna ToolboxRF ToolboxRF Blockset

Page 38: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

38

Model Moist Air Systems

▪ Model and simulate HVAC systems for a plant,

such as a building, automobile, aircraft

▪ New library contains chambers, reservoirs, local

restrictions, energy converters, sources and

sensors

▪ Ensure acceptable temperature, pressure,

humidity, condensation within the environment

▪ Note for Simscape in general: Run simulations

about 5x faster with local solver option

Model HVAC and environmental control

systems

Simscape

Page 39: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

39

Artificial Intelligence

COMPUTER

Output

Data

Model

Page 40: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

40

Text Analytics

Text Analytics Toolbox

Output

Data Model

Page 41: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

41

Text Analytics

▪ Preprocess raw text data by

extracting, filtering, and splitting

▪ Visualize text using word clouds

and text scatter plots

▪ Develop predictive models using

built-in machine learning algorithms

(LDA, LSA, word2vec)

Work with text from equipment logs

and operator reports

Text Analytics Toolbox

Page 42: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

42

Normal Operation Maintenance NeededMonitor Closely

Predictive Maintenance

Predictive Maintenance Toolbox

Sensors

Output

Data Model

Page 43: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

43

Predictive Maintenance

Predictive Maintenance Toolbox

▪ Import sensor data from local files and cloud storage(Amazon S3, Windows Azure Blob Storage, and Hadoop HDFS)

▪ Use simulated failure data from Simulink models

▪ Estimate remaining useful life (RUL)

▪ Get started with examples

(motors, gearboxes, batteries, and other machines)

Design and test condition monitoring and

predictive maintenance algorithms

Page 44: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

44

Deep Learning

Neural Network ToolboxComputer Vision System ToolboxGPU Coder

Output

Data Model

Page 45: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

45

Deep Learning

▪ Access the latest models

▪ Import pretrained models and

use transfer learning

▪ Automate ground-truth labeling using apps

▪ Design and build your own models

▪ Use NVIDIA GPUs to train your models

▪ Automatically generate high-performance

CUDA code for embedded deployment

Design, build, and visualize convolutional neural networks

Neural Network ToolboxComputer Vision System ToolboxGPU Coder

AlexNet ResNet-50 VGG-16

TensorFlow

MATLAB

MXNet

GPU Coder

Imag

es

/ se

c

Page 46: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

46

Page 47: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

47

▪ Deployment

▪ Code Generation

▪ Verification and Validation

WorkflowDepth

What’s New in MATLAB and Simulink?

▪ Design Creation

▪ Analysis

▪ Simulation, Scaling

▪ Collaboration

PlatformProductivity

▪ Autonomous Systems

▪ Wireless Communications

▪ Artificial Intelligence (AI)

ApplicationBreadth

Page 48: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

48

Upgrade your MATLAB Code and Simulink Models

Page 49: What’s New in MATLAB and Simulink - MathWorks › content › dam › mathworks › math... · What’s New in MATLAB and Simulink Michael Glaßer. 2 Application Breadth Products

49© 2015 The MathWorks, Inc.