E-MAE-MA 3 MATLAB® development Challenges solved using E-MA • E-MA (Enterprise Architect...

Post on 21-Jun-2020

5 views 0 download

Transcript of E-MAE-MA 3 MATLAB® development Challenges solved using E-MA • E-MA (Enterprise Architect...

Confidential | RBEI/ETB3 | 05/01/2016 | E-MA | © Robert Bosch Engineering and Business Solutions Private Limited 2015. All rights reserved,

also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

E-MA

1

MATLAB®

E-MA

Enterprise Architect Connected MATLAB®

Confidential | RBEI/ETB3 | 05/01/2016 | E-MA | © Robert Bosch Engineering and Business Solutions Private Limited 2015. All rights reserved,

also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

E-MA

2

Current Development Challenges in MATLAB®

• To exploit the complete benefits of OOPs in MATLAB®, one needs to

have a Designer tool. Currently, there is no Designer tool connected

with MATLAB®.

• Currently, MATLAB® Projects (Packages & Classes) are designed in an

external design tool (ex - Enterprise Architect) but the complete

benefits (like Auto code Generation, Auto Unit Test File Generation,

Conversion from Semi-Formal design to Formal design) of a designer

tool cannot be achieved in MATLAB® as by default MATLAB® is not

available as a Programming Technology in any Design Tool.

• Designer Tool is expensive and hence License of a Designer Tool is

available with only few colleagues (ex- Architects) and every developer

has to manually see the exported report of Design File and write *.m

code (MATLAB® Classes / Functions) by hand.

Confidential | RBEI/ETB3 | 05/01/2016 | E-MA | © Robert Bosch Engineering and Business Solutions Private Limited 2015. All rights reserved,

also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

E-MA

3

MATLAB® development Challenges solved using E-MA

• E-MA (Enterprise Architect Connected MATLAB®) is a standalone

MATLAB® application which can either read an *.eap file (Enterprise

Architect file) or the exported XML file.

• E-MA scans the EA file and helps users to generate the *.m / *.mdl /

*.slx (MATLAB® classes, Functions, Simulink Models, Stateflow

diagrams) automatically.

• E-MA also generates MATLAB® Unit Test file for each class

automatically from Design File.

• All auto-generated *.m file contains the template of class/function which

is devoid of business logic.

• E-MA offers a Framework to run the test cases automatically and

generates a report of the test cases.

Confidential | RBEI/ETB3 | 05/01/2016 | E-MA | © Robert Bosch Engineering and Business Solutions Private Limited 2015. All rights reserved,

also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

E-MA

4

Overview of E-MA tool

Confidential | RBEI/ETB3 | 05/01/2016 | E-MA | © Robert Bosch Engineering and Business Solutions Private Limited 2015. All rights reserved,

also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

E-MA

5

Load EA File

Confidential | RBEI/ETB3 | 05/01/2016 | E-MA | © Robert Bosch Engineering and Business Solutions Private Limited 2015. All rights reserved,

also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

E-MA

6

Overview of Packages

Confidential | RBEI/ETB3 | 05/01/2016 | E-MA | © Robert Bosch Engineering and Business Solutions Private Limited 2015. All rights reserved,

also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

E-MA

7

Inspect Classes & its Methods

Confidential | RBEI/ETB3 | 05/01/2016 | E-MA | © Robert Bosch Engineering and Business Solutions Private Limited 2015. All rights reserved,

also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

E-MA

Inspect Classes & its Attributes

8

Confidential | RBEI/ETB3 | 05/01/2016 | E-MA | © Robert Bosch Engineering and Business Solutions Private Limited 2015. All rights reserved,

also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

E-MA

9

Editable View of Classes, Methods & Attributes

Confidential | RBEI/ETB3 | 05/01/2016 | E-MA | © Robert Bosch Engineering and Business Solutions Private Limited 2015. All rights reserved,

also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

E-MA

10

Auto-generation of Project (MATLAB® Classes)

Confidential | RBEI/ETB3 | 05/01/2016 | E-MA | © Robert Bosch Engineering and Business Solutions Private Limited 2015. All rights reserved,

also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

E-MA

11

View of Auto-generated (Template) MATLAB® File

Confidential | RBEI/ETB3 | 05/01/2016 | E-MA | © Robert Bosch Engineering and Business Solutions Private Limited 2015. All rights reserved,

also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

E-MA

12

Auto-generation of Test (Template) Classes from Design

Confidential | RBEI/ETB3 | 05/01/2016 | E-MA | © Robert Bosch Engineering and Business Solutions Private Limited 2015. All rights reserved,

also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

E-MA

13

Invoking Testing Platform

Confidential | RBEI/ETB3 | 05/01/2016 | E-MA | © Robert Bosch Engineering and Business Solutions Private Limited 2015. All rights reserved,

also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

E-MA

14

Overview of Testing Framework- MUNIT

Confidential | RBEI/ETB3 | 05/01/2016 | E-MA | © Robert Bosch Engineering and Business Solutions Private Limited 2015. All rights reserved,

also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

E-MA

15

Sample Report

Confidential | RBEI/ETB3 | 05/01/2016 | E-MA | © Robert Bosch Engineering and Business Solutions Private Limited 2015. All rights reserved,

also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

E-MA

16

Team ContactOm Prakash Kumar

omprakash.kumar@in.bosch.com

+91-80-4109 5909 / +91-944 855 4819.

Himajit Aithal

himajit.Aithal@in.bosch.com

+91-80-4109 5258 / +91- 973 182 3324.

Midhun R N

midhun.rugmininarasimhan@in.bosch.com

+91- 879 268 2530.

Mouneshwar W

mouneshwarshivasharana.wadikar@in.bosch.com

+91-973 933 7575 / +91 – 974 372 3624

Sijo Antony

sijo.antony@in.bosch.com

+91 – 812 300 0438