what’s new : matlab/simulink - fcu.edu.t · and vhdl code from simulink models, stateflow charts,...

25
What’s New : MATLAB/Simulink Jerrt Tung TeraSoft Inc.

Upload: ledan

Post on 27-May-2018

279 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: What’s New : MATLAB/Simulink - fcu.edu.t · and VHDL code from Simulink models, Stateflow charts, and Embedded MATLAB code ... MATLAB Basic/Advance/GUI Simulink Basic/Advance Digital

What’s New : MATLAB/Simulink

Jerrt TungTeraSoft Inc.

Page 2: What’s New : MATLAB/Simulink - fcu.edu.t · and VHDL code from Simulink models, Stateflow charts, and Embedded MATLAB code ... MATLAB Basic/Advance/GUI Simulink Basic/Advance Digital

Core MathWorks Products

The leading environment for technical computing

• Numeric computation

• Data analysis and visualization

Copyright © 2007 by TeraSoft, Inc.

22

• Data analysis and visualization

• The de facto industry-standard,high-level programming language for algorithm development

• Toolboxes for signal and image processing, statistics, optimization, symbolic math, and other areas

• Foundation of the MathWorks product family

Page 3: What’s New : MATLAB/Simulink - fcu.edu.t · and VHDL code from Simulink models, Stateflow charts, and Embedded MATLAB code ... MATLAB Basic/Advance/GUI Simulink Basic/Advance Digital

MATLAB Connects to Your Hardware Devices

Data Acquisition ToolboxPlug-in data acquisition devices

Instrument Control ToolboxElectronic and

scientific instrumentation

Copyright © 2007 by TeraSoft, Inc.

Plug-in data acquisition devices

MATLABInterfaces for communicating with everything

Image Acquisition ToolboxImage capture devices

Page 4: What’s New : MATLAB/Simulink - fcu.edu.t · and VHDL code from Simulink models, Stateflow charts, and Embedded MATLAB code ... MATLAB Basic/Advance/GUI Simulink Basic/Advance Digital

Deploying Applications with MATLAB

� Give MATLAB code toother users

� Share applications with MATLAB Compiler

Copyright © 2007 by TeraSoft, Inc.

Java

MATLABBuilder

for .NET

MATLABBuilder for

Excel

MATLABBuilder for Java

Share applications withend users who do nothave MATLAB

– Use the MATLAB

Compiler to create stand-

alone executables and

shared libraries

– Use Compiler add-ons to

create software

components

.exe.dll.lib

Page 5: What’s New : MATLAB/Simulink - fcu.edu.t · and VHDL code from Simulink models, Stateflow charts, and Embedded MATLAB code ... MATLAB Basic/Advance/GUI Simulink Basic/Advance Digital

MATLABMATLABDesktopDesktop

EndEnd--UserUserMachineMachine

Working with MATLAB Compiler

1

3Toolboxes

Copyright © 2007 by TeraSoft, Inc.

2 MATLAB Compiler

Page 6: What’s New : MATLAB/Simulink - fcu.edu.t · and VHDL code from Simulink models, Stateflow charts, and Embedded MATLAB code ... MATLAB Basic/Advance/GUI Simulink Basic/Advance Digital

Parallel Computing

▪ Perform parallel computations on multi-core computers and computer clusters

Copyright © 2007 by TeraSoft, Inc.

66

Page 7: What’s New : MATLAB/Simulink - fcu.edu.t · and VHDL code from Simulink models, Stateflow charts, and Embedded MATLAB code ... MATLAB Basic/Advance/GUI Simulink Basic/Advance Digital

Example: Parameter Sweep of ODEs

• Solve a 2nd order ODE

Copyright © 2007 by TeraSoft, Inc.

• Simulate with different values for b and k

• Record peak value for each run

• Plot results

Page 8: What’s New : MATLAB/Simulink - fcu.edu.t · and VHDL code from Simulink models, Stateflow charts, and Embedded MATLAB code ... MATLAB Basic/Advance/GUI Simulink Basic/Advance Digital

Core MathWorks Products

The leading environment for modeling, simulating, and implementing dynamic and embedded systems

• Linear, nonlinear, discrete-time, continuous-time, hybrid, and

Copyright © 2007 by TeraSoft, Inc.

88

continuous-time, hybrid, and multirate systems

• Foundation for Model-Based Design, including physical-domain modeling, automatic code generation, and verification and validation

• Open architecture for integrating models from other tools

• Applications in controls, signal processing, communications, and other system engineering areas

Page 9: What’s New : MATLAB/Simulink - fcu.edu.t · and VHDL code from Simulink models, Stateflow charts, and Embedded MATLAB code ... MATLAB Basic/Advance/GUI Simulink Basic/Advance Digital

EDA Simulator Link• Bidirectional link between MATLAB® and Simulink® and HDL simulators• Supported HDL Simulators :

• Cadence Incisive

• Mentor Graphics Questa and ModelSim• Synopsys VCS MXdsf

• Enabling verification of VHDL®, Verilog®, and mixed-language implementations.

Copyright © 2007 by TeraSoft, Inc.

99

implementations.

Page 10: What’s New : MATLAB/Simulink - fcu.edu.t · and VHDL code from Simulink models, Stateflow charts, and Embedded MATLAB code ... MATLAB Basic/Advance/GUI Simulink Basic/Advance Digital

HDL Coder

▪ Generates bit-true, cycle-accurate, synthesizable Verilog and VHDL code from Simulink models, Stateflow charts, and Embedded MATLAB code

Copyright © 2007 by TeraSoft, Inc.

1010

Page 11: What’s New : MATLAB/Simulink - fcu.edu.t · and VHDL code from Simulink models, Stateflow charts, and Embedded MATLAB code ... MATLAB Basic/Advance/GUI Simulink Basic/Advance Digital

Embedded MATLAB

▪ Generate readable, efficient, and embeddable C code from M-code

▪ Generate MEX functions from M-code for rapid prototyping and easy verification of generated C code

within MATLAB

Copyright © 2007 by TeraSoft, Inc.

within MATLAB

▪ Integrate M-code into Simulink®

▪ Speed up fixed-point M-code

▪ Generate hardware description language (HDL) from M-code

1111

Page 12: What’s New : MATLAB/Simulink - fcu.edu.t · and VHDL code from Simulink models, Stateflow charts, and Embedded MATLAB code ... MATLAB Basic/Advance/GUI Simulink Basic/Advance Digital

What’s New in R2010ahttp://www.mathworks.com/products/new_products/latest_features.html

Copyright © 2007 by TeraSoft, Inc.

1212

Page 13: What’s New : MATLAB/Simulink - fcu.edu.t · and VHDL code from Simulink models, Stateflow charts, and Embedded MATLAB code ... MATLAB Basic/Advance/GUI Simulink Basic/Advance Digital

Working with Large Images

Copyright © 2007 by TeraSoft, Inc.

Page 14: What’s New : MATLAB/Simulink - fcu.edu.t · and VHDL code from Simulink models, Stateflow charts, and Embedded MATLAB code ... MATLAB Basic/Advance/GUI Simulink Basic/Advance Digital

Image Processing Toolbox 7.0

▪ Performance Multicore support for over 50 functions

▪ Workflow Block processing (work on partial images)

▪ Viewing Efficient display of very large images in Image Tool

Copyright © 2007 by TeraSoft, Inc.

▪ applycform, deconvblind, edge, ifanbeam, im2bw, imclose, imfill, imopen, iradon, and medfilt2, …

Page 15: What’s New : MATLAB/Simulink - fcu.edu.t · and VHDL code from Simulink models, Stateflow charts, and Embedded MATLAB code ... MATLAB Basic/Advance/GUI Simulink Basic/Advance Digital

New Products

Copyright © 2007 by TeraSoft, Inc.

Page 16: What’s New : MATLAB/Simulink - fcu.edu.t · and VHDL code from Simulink models, Stateflow charts, and Embedded MATLAB code ... MATLAB Basic/Advance/GUI Simulink Basic/Advance Digital

New product: Simulink PLC CoderWhat does it do?

It makes it easy for somebody to generate structured text (PLC code) from Simulink models

Copyright © 2007 by TeraSoft, Inc.

Why is PLC code generation important?

PLC’s (Programmable Logic Controller) are heavily used in industrial machines, and in the IA&M industry in general. Some PLCs can use C code, but the majority do not

Code generation is key value driver for adopting Model-Based Design

Page 17: What’s New : MATLAB/Simulink - fcu.edu.t · and VHDL code from Simulink models, Stateflow charts, and Embedded MATLAB code ... MATLAB Basic/Advance/GUI Simulink Basic/Advance Digital

New support: Eclipse, Linux, ARM

What does this support include?

Embedded IDE Link now supports

▪ Eclipse Ganymede products

▪ Embedded Linux operating system

Copyright © 2007 by TeraSoft, Inc.

▪ Embedded Linux operating system

▪ ARM processors supported in Linux

Why is this support important?

More people are moving towards Eclipse IDE’s

New support makes it easier for users to generate code for third-party open source environments

Page 18: What’s New : MATLAB/Simulink - fcu.edu.t · and VHDL code from Simulink models, Stateflow charts, and Embedded MATLAB code ... MATLAB Basic/Advance/GUI Simulink Basic/Advance Digital

Simulink Control Design

Copyright © 2007 by TeraSoft, Inc.

Page 19: What’s New : MATLAB/Simulink - fcu.edu.t · and VHDL code from Simulink models, Stateflow charts, and Embedded MATLAB code ... MATLAB Basic/Advance/GUI Simulink Basic/Advance Digital

Parallel Computing Support For Frequency Response EstimationFaster frequency response estimation of Simulink models for customers with access to computing

Copyright © 2007 by TeraSoft, Inc.

access to computing clusters or multiple processing cores

▪ Use when multiple model

simulations are required• Each frequency in a sinestream

input simulated independently, or

• More then one input linearization point specified

Page 20: What’s New : MATLAB/Simulink - fcu.edu.t · and VHDL code from Simulink models, Stateflow charts, and Embedded MATLAB code ... MATLAB Basic/Advance/GUI Simulink Basic/Advance Digital

Control System Toolbox

Copyright © 2007 by TeraSoft, Inc.

Page 21: What’s New : MATLAB/Simulink - fcu.edu.t · and VHDL code from Simulink models, Stateflow charts, and Embedded MATLAB code ... MATLAB Basic/Advance/GUI Simulink Basic/Advance Digital

New C2D Option For More Accurate Tustin Discretization Of Fractional Time Delays Using Thiran Filters

Get accurate frequency domain representation when converting continuous-time plant

Copyright © 2007 by TeraSoft, Inc.

continuous-time plant models with fractional time delays for analysis in discrete-time domain

▪ New command thiran to design

Thiran filters

▪ New option for c2d conversion to use Thiran filter for fractional time delay discretization

Page 22: What’s New : MATLAB/Simulink - fcu.edu.t · and VHDL code from Simulink models, Stateflow charts, and Embedded MATLAB code ... MATLAB Basic/Advance/GUI Simulink Basic/Advance Digital

2010 Training & Workshop Information

Copyright © 2007 by TeraSoft, Inc.

Page 23: What’s New : MATLAB/Simulink - fcu.edu.t · and VHDL code from Simulink models, Stateflow charts, and Embedded MATLAB code ... MATLAB Basic/Advance/GUI Simulink Basic/Advance Digital

Training Course in 2010

▪ MATLAB Basic/Advance/GUI

▪ Simulink Basic/Advance

▪ Digital Signal Processing

▪ Image and Video Processing

▪ Control Design and Analysis

Copyright © 2007 by TeraSoft, Inc.

▪ Control Design and Analysis

2323

Page 24: What’s New : MATLAB/Simulink - fcu.edu.t · and VHDL code from Simulink models, Stateflow charts, and Embedded MATLAB code ... MATLAB Basic/Advance/GUI Simulink Basic/Advance Digital

Hands-on Workshop in 2010

▪ Fixed-point Toolbox

▪ Analog Mixed Signal System Modeling and Simulation

▪ MATLAB/Simulink for Communication System Design

▪ HDL Code Generation

▪ Link to TI C6000 series DSPs

Copyright © 2007 by TeraSoft, Inc.

▪ Link to TI C6000 series DSPs

▪ Link to TI C2000 series DSPs

▪ SimPowerSystems

▪ SimMechanics

▪ Data Acquisition and Analysis

▪ Stateflow

▪ xPC Target 2424

Page 25: What’s New : MATLAB/Simulink - fcu.edu.t · and VHDL code from Simulink models, Stateflow charts, and Embedded MATLAB code ... MATLAB Basic/Advance/GUI Simulink Basic/Advance Digital