MATLAB/Simulink

14 downloads 203 Views 2MB Size Report
MATLAB/Simulink. Jerrt Tung ... MATLAB Connects to Your Hardware Devices ... Bidirectional link between MATLAB® and Simulink® and HDL simulators.
What’s New : MATLAB/Simulink Jerrt Tung TeraSoft Inc.

Core MathWorks Products The leading environment for technical computing • • •





Numeric computation 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

2 Copyright © 2007 by TeraSoft, Inc.

MATLAB Connects to Your Hardware Devices Instrument Control Toolbox Electronic and scientific instrumentation

Data Acquisition Toolbox Plug-in data acquisition devices

Image Acquisition Toolbox Image capture devices

MATLAB Interfaces for communicating with everything Copyright © 2007 by TeraSoft, Inc.

Deploying Applications with MATLAB  Give MATLAB code to

other users MATLAB Compiler

 Share applications with

end users who do not have MATLAB

MATLAB Builder for Excel

MATLAB Builder for Java

– Use the MATLAB

Compiler to create standalone executables and shared libraries – Use Compiler add-ons to create software components Copyright © 2007 by TeraSoft, Inc.

.exe

.dll .lib

Java

MATLAB Builder for .NET

Working with MATLAB Compiler 3 Toolboxes

MATLAB Desktop

1 2

MATLAB Compiler

Copyright © 2007 by TeraSoft, Inc.

End-User EndMachine

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

6 Copyright © 2007 by TeraSoft, Inc.

Example: Parameter Sweep of ODEs • Solve a 2nd order ODE

• Simulate with different values for b and k • Record peak value for each run • Plot results Copyright © 2007 by TeraSoft, Inc.

Core MathWorks Products The leading environment for modeling, simulating, and implementing dynamic and embedded systems •



• •

Linear, nonlinear, discrete-time, continuous-time, hybrid, and multirate systems Foundation for Model-Based Design, including physicaldomain 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

8 Copyright © 2007 by TeraSoft, Inc.

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.

9 Copyright © 2007 by TeraSoft, Inc.

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

10 Copyright © 2007 by TeraSoft, Inc.

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 ▪ Integrate M-code into Simulink® ▪ Speed up fixed-point M-code ▪ Generate hardware description language (HDL) from Mcode

11 Copyright © 2007 by TeraSoft, Inc.

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

12 Copyright © 2007 by TeraSoft, Inc.

Working with Large Images

Copyright © 2007 by TeraSoft, Inc.

Image Processing Toolbox 7.0 ▪ Performance ▪ Workflow ▪ Viewing

Multicore support for over 50 functions Block processing (work on partial images) Efficient display of very large images in Image Tool

▪ applycform, deconvblind, edge, ifanbeam, im2bw, imclose, imfill, imopen, iradon, and medfilt2, … Copyright © 2007 by TeraSoft, Inc.

New Products

Copyright © 2007 by TeraSoft, Inc.

New product: Simulink PLC Coder What does it do? It makes it easy for somebody to generate structured text (PLC code) from Simulink models 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

Copyright © 2007 by TeraSoft, Inc.

New support: Eclipse, Linux, ARM What does this support include? Embedded IDE Link now supports ▪ Eclipse Ganymede products ▪ 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

Copyright © 2007 by TeraSoft, Inc.

Simulink Control Design

Copyright © 2007 by TeraSoft, Inc.

Parallel Computing Support For Frequency Response Estimation Faster frequency response estimation of Simulink models for customers with 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

Copyright © 2007 by TeraSoft, Inc.

Control System Toolbox

Copyright © 2007 by TeraSoft, Inc.

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 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

Copyright © 2007 by TeraSoft, Inc.

2010 Training & Workshop Information

Copyright © 2007 by TeraSoft, Inc.

Training Course in 2010 ▪ ▪ ▪ ▪ ▪

MATLAB Basic/Advance/GUI Simulink Basic/Advance Digital Signal Processing Image and Video Processing Control Design and Analysis

23 Copyright © 2007 by TeraSoft, Inc.

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 Link to TI C2000 series DSPs SimPowerSystems SimMechanics Data Acquisition and Analysis Stateflow xPC Target

Copyright © 2007 by TeraSoft, Inc.

24