© 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM)...

40
1 © 2015 The MathWorks, Inc.

Transcript of © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM)...

Page 1: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

1© 2015 The MathWorks, Inc.

Page 2: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

2© 2015 The MathWorks, Inc.

Effective Team-Based Collaboration

with Simulink Projects in MBD

Young Joon Lee

Principal Application Engineer

Page 3: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

3

How “complex” are the

projects you work on?

Page 4: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

4

Complex projects have

Hundreds of files

Models, libraries, data, scripts,

C/C++ code, documents, images, …

Page 5: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

5

Too complex for one

person to understand it all

Page 6: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

6

How does an individual Simulink

user become a small team?

How do small teams grow to larger

teams?

How do large teams fit into the

enterprise environment?

Page 7: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

7

Sharing the right type of

information in the easiest

possible way

Sharing the right type of

information in the easiest

possible way

Sharing the right type of

information in the easiest

possible way

Page 8: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

8

Sharing challenges vary with team size

Individual users

Small team

Team within enterprise environment

Page 9: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

9

How do people share & manage projects?

Majority use COTS tools for

managing work & sharing

information

Source control

Enterprise level tools

– Application Lifecycle

Management (ALM)

– Product Lifecycle

Management (PLM)

© SAE International Source: SAE survey of participants

of “Model-Based Engineering” webinar, April 2014

15%

32%

53%

ALM/

PLM

Named

Folders

Source

Control

Q: “What do you use

for managing the

content of your

software?”

Page 10: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

10

How do people share & manage projects?

32% using named folders

– MyProject_v1

– MyProject_v2

– MyOldProject

– …

© SAE International Source: SAE survey of participants

of “Model-Based Engineering” webinar, April 2014

15%

32%

53%

ALM/

PLM

Named

Folders

Source

Control

Q: “What do you use

for managing the

content of your

software?”

Page 11: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

11

How do people share & manage projects?

Can we make

sharing easier?

© SAE International Source: SAE survey of participants

of “Model-Based Engineering” webinar, April 2014

15%

32%

53%

ALM/

PLM

Named

Folders

Source

Control

Q: “What do you use

for managing the

content of your

software?”

Page 12: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

12

Most Common Challenge in Sharing Work

“It works on my computer, just not on yours…”

Common causes:

Incomplete set of files

Different environment

– (software versions, MATLAB path, …)

Wrong data loaded

What do I do to get started?

?

Page 13: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

13

Simulink Projects Support Sharing

Dependency analysis to

ensure project is complete

Shortcuts make key parts

discoverable

Automatic environment set-up

Built-in sharing tools

– Source control integration

– Export to zip archive

Ensure project is ready for

sharing

» sldemo_slproject_airframe

Page 14: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

14

Share what you are working on right now

Optional, downloadable plugins

– Download new and updated sharing

options

Package and share your project

– Internally (email, SharePoint)

– Externally (GitHub, BitBucket)

– For re-use (template, toolbox)

R2015a

Page 15: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

15

Sharing challenges vary with team size

Individual users

Small team

Team within enterprise environment

Page 16: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

16

Support adopting source control

Provide direct access to

source control

SVN

Git

SVN

Git

Published

API

Simulink

Project

Page 17: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

17

Support adopting source control

Provide direct access to

source control

SVN

Git

Published API + SDK

for integration with other

tools

Java code required

SVN

Git

Published

API

Other

source

control

tools

Custom

IntegrationSimulink

Project

Page 18: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

18

Sharing challenges vary with team size

Individual users

Small team

Team within enterprise environment

Page 19: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

19

Fitting into the enterprise: two loop workflow

Local

Source

Control

PLM

Local Team:

What?

• Everything in the project

When?

• All the time

Project

Enterprise:

What?

• Outputs from project

• System level reqs & data

When?

• Periodically/On milestones

Page 20: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

20

Push latest design into the PLM tool

Local

Source

Control

PLM

Project

Generate project outputs to

share with the enterprise:

• Control module code

• Supporting documentation

Page 21: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

21

Sharing information about enterprise files

Use Simulink

Project labels

to share

workflow

information

Create custom labels

to share process

information

Attach labels to files

exported to PLM

Page 22: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

22

Use Simulink APIs for automation

Use Simulink

APIs to

automate

generating files

for enterprise

Project shortcuts make

PLM export scripts

discoverable

Scripting PLM export

supports efficient, mistake-

proof workflow

Page 23: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

23

Understand impact of enterprise-level changes

Local

Source

Control

PLM

Project

“What is the impact of

updated requirements

documents from PLM?”

Page 24: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

24

Enhanced Impact Analysis

Easily find tools on

the new toolstrip Popup makes the viewer easy

to use even when zoomed out

Improved edge routing makes

it easier to visualize large projects

Fine-grained information

about impacted blocks and

subsystems

Enhanced impact viewer

supports large projects

See information about

which blocks are

impacted by a change

Improved line routing

Pop-ups make it easier

to navigate very large

projects

Page 25: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

25

Make it easier for anyone to start using Simulink

Individual users

Small team

Team within enterprise environment

Page 26: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

26

Introduction to Simulink Projects

Page 27: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

27

Simulink Projects

Manage design-related files

efficiently within Simulink

Search, manage, and share

related files in a Simulink project

View revision information

Peer review of changes using

XML comparison tools

Access version control

functionality

Component

Folder

Test

Data

Folder Configuration

Set Folder

Project

Utilities Folder

Project Metadata Simulink ToolsRevision Control

Interface

Page 28: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

28

New Features in R2014b and R2015a

Page 29: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

29

Consolidate File Views

Combined Project Files and

All Files View

Easily add and remove files

from the project

Full drag and drop support

File actions tied to project

status: creation, deletion and

move.

Consolidated File View

» sldemo_slproject_airframe_git

Files Node

Page 30: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

30

Rolled Up Source Control Status

Easy to locate changes in file

view.

Tooltip summarizes what

changes are in the folder.

Fully recursive

Rolled up source control

status is shown for folders.

» Sldemo_slproject_airframe_git

Screen shot of the feature in

action

Page 31: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

31

Improved dependency viewer

Easily find tools on

the new toolstrip

Expand files to see which

blocks have dependencies

Popup makes the viewer easy

to use even when zoomed out

Improved edge routing makes

it easier to interpret large projects

Page 32: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

32

New Source Control Demos

sldemo_slproject_airframe_svn

sldemo_slproject_airframe_git

Page 33: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

33

Desktop Source Control Integration

Source control available in

the current folder tool

Does not require a

Simulink license

14b limitation: opening a

Simulink project will disable

source control in the

current folder tool.

Page 34: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

34

Simulink Project: MATLAB Search Path

Management

Project path folders added to

MATLAB search path on project

start.

Project path folders removed

from the MATLAB search path

on Project close.

No longer a need to write

startup shortcuts to manage

MATLAB’s search path

Automatically manage your

MATLAB search path with

your projects.

On path icon

Path Manager UI

Page 35: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

35

Simulink Project: New Label Panel

Easily see and edit label data

for all labels attached to a file.

Use drag and drop to add

labels.

Easily switch between single-

valued labels.

Easily add, modify and view

labels attached to a file.

» sldemo_slproject_airframe

Page 36: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

36

Enable Share on GitHub

Enter your GitHub username and password

Follow the link to view your

GitHub repository website

Page 37: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

37

Model Templates

Page 38: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

38

Enhance “New Simulink Model”…

Page 39: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

39

Model Templates

Use shipped templates to get started

with building models or create

custom templates to from a Simulink

model

Avoid repetitive tasks when starting

out to build a new model

Enforce a standard process for

building models for the entire team or

organization

Avoid problem of corrupting original

file when creating a new model

Build models using design

patterns that serve as starting

points to solve common problems

Page 40: © 2015 The MathWorks, Inc. · Enterprise level tools –Application Lifecycle Management (ALM) –Product Lifecycle ... Support adopting source control ... Git SVN Git Published

40

Introduced New Feature for Simulink Projects

Simulink Projects

SVN integration

Git integration

Enhanced impact analysis

Simulink model templates

Share to GitHub

New Label Panel

Simulink Project Path

R2015a