33
© 2008 The MathWorks, Inc. MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth Sharma Jason Ghidella Tom Priestley

MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

  • Upload
    others

  • View
    31

  • Download
    0

Embed Size (px)

Citation preview

Page 1: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

© 2

008 T

he M

ath

Work

s, In

c.

MathWorks Technology Session at GE

A Walk Through MATLAB and

Simulink R2012b

October 26, 2012

Gerardo Hernandez

Siddharth Sharma

Jason Ghidella

Tom Priestley

Page 2: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

2

MathWorks Release Timeline

2001 2002 2003 2004 2005 2006 2007 2008 2009 2010

R13

R13.1

R14

R14sp3

R2006a

6b

7a

7b

8a

8b

9a

9b

10a

2011

11a

2012

12a

10b 11b 12b

Prerelease

Release

S O N D J F M A M J J A

Code

Freeze

Planning &

Specifications

Page 3: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

3

Development Priorities and

Objectives High

Quality

On

Time New

Features

2006-12 – Emphasis on quality

and predictability

Pre-2006 –

Focus on functionality

R2012b –

In the sweet spot

Page 4: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

4

What’s Next

Introduction and overview

MATLAB Desktop & new features • MATLAB Toolstrip

• MATLAB Apps

• Import Tool

• Redesigned Help

• Simulink Editor & workflow improvements • The Simulink and Stateflow graphical design environment

• Analysis and simulation tools

• Support for team-based collaboration

Q&A

Page 5: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

© 2

008 T

he M

ath

Work

s, In

c.

What’s New for MATLAB with

R2012b

Presenter

Page 6: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

6

Agenda

MATLAB

Help System

MATLAB for Production

GPU Computing

Computational Finance

Page 7: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

7

MATLAB

Introducing the New MATLAB

Desktop

Page 8: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

8

MATLAB Toolstrip Find what you need

Tabs organize commonly used functionality

Key features placed up front

Design optimized for common tasks

Functionality only appears when needed

Page 9: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

9

Quick Access Toolbar

Place to put commonly

used commands

Any item from a tab or shortcuts can be added to the toolbar

Remains visible when the toolstrip is minimized

Page 10: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

10

What are MATLAB Apps?

Interactive MATLAB programs that include a GUI

Apps are included in many MATLAB products

There are also many user-written apps

Page 11: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

11

MATLAB Apps Gallery

Tab within the MATLAB Toolstrip

Prominently displays both user-written apps and apps included in MATLAB products

Makes it easy to find and launch MATLAB apps

Page 12: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

12

Packaging and Sharing MATLAB

Apps Automatically includes all necessary files

Documents required products

Creates single installation file for easy distribution and installation into the MATLAB apps gallery

Page 13: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

13

Getting More Apps

Page 14: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

14

Import Tool

Interactive import of delimited and fixed-width text files

Improved handling of:

Mixed numeric & text data

Dates

Define rules for handling nonnumeric values

Automatically generate MATLAB code (scripts and functions) to automate the process

Page 15: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

15

Command Line Suggestions

Suggested corrections for mistyped functions and variables in the Command Window

Press Enter to execute the suggested command, or Esc to delete it

Page 16: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

16

Agenda

MATLAB

Help System

MATLAB for Production

GPU Computing

Computational Finance

Page 17: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

17

Documentation Center and

Redesigned Help Content organized by topic

rather than content type

Browser-like interface, with improved search

Facets allow users to filter search results

Multiple tabs

Documentation installed locally

Option to use the online Documentation Center Demos are now “Examples”

Page 18: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

18

Agenda

MATLAB

Help System

MATLAB for Production

GPU Computing

Computational Finance

Page 19: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

19

MATLAB Production Server

Incorporate numerical analytics (as packaged

MATLAB programs) into enterprise applications

Framework contains:

Server software Manages packaged MATLAB programs and worker pool

Runtime libraries MATLAB Compiler Runtime (MCR)

Lightweight client library (.NET & Java) Make requests of MATLAB Production Server

.NET

New Product

Page 20: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

20

Production

Development

Enterprise

Application

Developer

Moving MATLAB into Production

Web

Application

. . .

Algorithm

Web

Application

MATLAB

Compiler

MATLAB

Developer

MATLAB Production Server

Request

Broker

&

Program

Manager

Page 21: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

21

MATLAB Production Server

Directly deploy MATLAB programs into production Centrally manage multiple MATLAB programs & MCR versions

Automatically deploy updates without server restarts

Scalable & reliable Service large numbers of concurrent requests

Add capacity or redundancy with additional servers

Use with web, database & application servers Lightweight client library isolates MATLAB processing

Access MATLAB programs using native data types

MATLAB Production Server(s)

HTML

XML

Java Script Web

Server(s)

Page 22: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

22

Agenda

MATLAB

Help System

MATLAB for Production

GPU Computing

Computational Finance

Page 23: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

23

GPU Computing with MATLAB E

ase o

f U

se

G

rea

ter C

on

trol

Use a GPU array with MATLAB

and toolbox functions

Execute custom functions on

elements of a GPU array

Create kernels from existing

CUDA code and PTX files

Page 24: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

24

Learn More

http://www.mathworks.com/products/matlab/whatsnew.html

Page 25: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

© 2

008 T

he M

ath

Work

s, In

c.

What’s new in Simulink R2012b

By:

Siddharth Sharma and Jason Ghidella

10/26/2012

Page 26: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

26

Agenda

Modeling and simulating systems with the new Simulink Editor

Developing control logic with the new Stateflow Editor

Building and sharing models in teams

Page 27: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

27

Simulink R2012b is the most

significant upgrade to Simulink ever Who does Simulink R2012b affect?

Every single Simulink user

Why?

Because Simulink R2012b features the new Simulink Editor, which makes it easier to view, navigate, and edit models.

In short …

Simulink R2012b simplifies modeling

Page 28: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

28

Highlights of the new Simulink

Editor Explorer bar to navigate model hierarchy

Tabbed windows to minimize window clutter

Reorganized menu to fit common workflow of Model-Based Design

Smart signal routing that determines the optimal signal line path

Badges to get signal and block information at a glance

Simulation stepper with breakpoints to debug the simulation

Comment out blocks to test variations of the model

Page 29: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

29

Highlights of the new Stateflow

Editor Tighter integration with Simulink (e.g., tabbed windows, Explorer bar)

Smart guides to align states, junctions, functions for cleaner charts

Drag margins to move containers and their contents

Transition indicator lines to identify labels for transitions

Just-in-time error notifications to highlight object placement conflicts

Debug buttons located within main menu for easy access

Visual breakpoints and data value displays during debug mode

Page 30: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

30

Agenda

Modeling and simulating systems with the new Simulink Editor

Developing control logic with the new Stateflow Editor

Building and sharing models in teams

Page 31: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

31

Team Collaboration Challenges

How Do I ...

Organize and manage files?

Access to project-level utilities?

Associate project-level information with files?

Transfer knowledge across projects?

Use source control functionality within the design environment?

Track design changes?

Page 32: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

32

Support for Team Collaboration

Organize and manage files

Simulink Projects, Dependency analysis

Access to project-level utilities

Shortcuts

Associate project-level information with files

Labels

Track design changes

XML Comparison Report (Simulink Report Generator)

Transfer knowledge across projects

Templates

Use source control within the design environment

Subversion support, Simulink Project Source Control Adapter SDK

Page 33: MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE A Walk Through MATLAB and Simulink R2012b October 26, 2012 Gerardo Hernandez Siddharth

33

More information at

mathworks.com/simulink