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                             MATLAB       MATLAB     MATLAB
                                                   Builder for    Builder    Builder
   have MATLAB                                       Excel       for Java   for .NET
     – Use the MATLAB
       Compiler to create stand-
       alone executables and                .dll
       shared libraries              .exe                         Java
                                            .lib

     – Use Compiler add-ons to
       create software
       components

Copyright © 2007 by TeraSoft, Inc.
Working with MATLAB Compiler

                                                          3
                    Toolboxes




                                     MATLAB    End-User
                                               End-
1
                                     Desktop   Machine


2        MATLAB Compiler




Copyright © 2007 by TeraSoft, Inc.
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 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


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


                                                             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                     Multicore support for over 50 functions
   ▪ Workflow                        Block processing (work on partial images)
   ▪ Viewing                         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                                           24


Copyright © 2007 by TeraSoft, Inc.
F1270089476650

F1270089476650

  • 1.
    What’s New : MATLAB/Simulink Jerrt Tung TeraSoft Inc.
  • 2.
    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.
  • 3.
    MATLAB Connects toYour 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.
  • 4.
    Deploying Applications withMATLAB Give MATLAB code to other users MATLAB Compiler Share applications with end users who do not MATLAB MATLAB MATLAB Builder for Builder Builder have MATLAB Excel for Java for .NET – Use the MATLAB Compiler to create stand- alone executables and .dll shared libraries .exe Java .lib – Use Compiler add-ons to create software components Copyright © 2007 by TeraSoft, Inc.
  • 5.
    Working with MATLABCompiler 3 Toolboxes MATLAB End-User End- 1 Desktop Machine 2 MATLAB Compiler Copyright © 2007 by TeraSoft, Inc.
  • 6.
    Parallel Computing ▪ Perform parallel computations on multi-core computers and computer clusters 6 Copyright © 2007 by TeraSoft, Inc.
  • 7.
    Example: Parameter Sweepof 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.
  • 8.
    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 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 8 Copyright © 2007 by TeraSoft, Inc.
  • 9.
    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.
  • 10.
    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.
  • 11.
    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 M- code 11 Copyright © 2007 by TeraSoft, Inc.
  • 12.
    What’s New inR2010a http://www.mathworks.com/products/new_products/latest_features.html 12 Copyright © 2007 by TeraSoft, Inc.
  • 13.
    Working with Large Images Copyright © 2007 by TeraSoft, Inc.
  • 14.
    Image Processing Toolbox7.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 ▪ applycform, deconvblind, edge, ifanbeam, im2bw, imclose, imfill, imopen, iradon, and medfilt2, … Copyright © 2007 by TeraSoft, Inc.
  • 15.
    New Products Copyright ©2007 by TeraSoft, Inc.
  • 16.
    New product: SimulinkPLC 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.
  • 17.
    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.
  • 18.
    Simulink Control Design Copyright © 2007 by TeraSoft, Inc.
  • 19.
    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.
  • 20.
    Control System Toolbox Copyright © 2007 by TeraSoft, Inc.
  • 21.
    New C2D OptionFor 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.
  • 22.
    2010 Training & Workshop Information Copyright © 2007 by TeraSoft, Inc.
  • 23.
    Training Course in2010 ▪ MATLAB Basic/Advance/GUI ▪ Simulink Basic/Advance ▪ Digital Signal Processing ▪ Image and Video Processing ▪ Control Design and Analysis 23 Copyright © 2007 by TeraSoft, Inc.
  • 24.
    Hands-on Workshop in2010 ▪ 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 24 Copyright © 2007 by TeraSoft, Inc.