MathWorks Technology Session at GE A Walk Through MATLAB ... · MathWorks Technology Session at GE...

Preview:

Citation preview

© 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

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

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

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

© 2

008 T

he M

ath

Work

s, In

c.

What’s New for MATLAB with

R2012b

Presenter

6

Agenda

MATLAB

Help System

MATLAB for Production

GPU Computing

Computational Finance

7

MATLAB

Introducing the New MATLAB

Desktop

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

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

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

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

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

13

Getting More Apps

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

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

16

Agenda

MATLAB

Help System

MATLAB for Production

GPU Computing

Computational Finance

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”

18

Agenda

MATLAB

Help System

MATLAB for Production

GPU Computing

Computational Finance

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

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

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)

22

Agenda

MATLAB

Help System

MATLAB for Production

GPU Computing

Computational Finance

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

24

Learn More

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

© 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

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

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

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

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

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

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?

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

33

More information at

mathworks.com/simulink

Recommended