Powered by Smartsupp


Engineering Workflow Management integration with Mathlab Simulink


 

Introduction

Simulink from The MathWorks, Inc. (an American privately held corporation that specializes in mathematical computing software) is graphical programming software for building models, simulations, and analyses for complex dynamical systems. It offers tight integration with the rest of the MATLAB environment. The tool can be very useful in automatic control and digital signal processing for multidomain simulation and Model-Based Design.

But if we are speaking about software development where single or distributed teams can participate, it's crucial to control what somebody is doing, what is produced by project members, and be capable of reacting to any problems as soon as possible. The effective software development process is based on effective organization of work, as well as on the use of special software tools designed to manage the project activities. Such tools can concern different process areas such as requirements management, change management, version control, and configuration management, testing, etc.

 

What is Rational Solution for Collaborative Lifecycle Management (CLM)

Rational solution for Collaborative Lifecycle Management (CLM) is an integrated Application Lifecycle Management solution containing four powerful products: IBM Rational DOORS Next GenerationIBM Engineering Workflow ManagementIBM Engineering Test Manager, and some others. CLM is developed by the Rational brand of IBM and was first released in 2011.

The Rational solution for Collaborative Lifecycle Management is built on Jazz, an extensible technology platform that helps teams integrate tasks across the software life cycle. CLM provides integration across Jazz-based applications, for example, such as Change and configuration management (CCM) to connect the work of all members in a team as well as many teams.

Modeling with IBM Engineering Workflow Management

Engineering Workflow Management is a team collaboration tool that uses the Change and Configuration Management (CCM) application in Jazz to provide features that integrate development project tasks, including iteration planning, process definition, change management, defect tracking, source control, build automation, and reporting.

Modeling can be an effective way to manage the complexity of software development. It enables communication, design, and assessment of requirements, architectures, software, and systems. Building good models helps trace the design back to the requirements, helping to ensure that developers are building the right system.

Using IBM ELM Jazz and Simulink in Software Development

Generally, using IBM Jazz and Simulink can organize the software development process, where any tool is responsible for some specific areas. It can be explained in the next picture.

 
Progression from design to requirements to code to tests to defects and all over again

1.) Software development process

You can see that incoming requests have external impacts on software development. They can impact requirements, resulting in their creation and updating. Requirements are start points for further producing working software as sources, codes, and various kinds of files. Changes in codes result in the building of working software that can be tested for the presence of errors. Such errors are registered as defects.

All actions are managed by project managers, who can create tasks for other project members to direct the team's efforts with, define priorities for work to be done first, and connect various members for more effective communication. All project artifacts are saved under a version control and configuration management system to have a chance to reproduce accumulated data, develop software in many streams, and make the process more flexible.

By the picture above, next to Jazz applications are used to cover these different areas:

  • Rational DOORS Next Generation in “Requirements” area
  • Engineering Workflow Management in “Requests”, “Defects”, “Tasks”, “Versions & Configurations” areas
  • Rational Quality Manager in “Tests” area
  • Simulink to design and produce models in the “Design” area
  • Some developer's IDE (maybe, Eclipse, Microsoft Visual Studio, or something else) in the “Code” area

But Simulink is a tool that saves the data in a proprietary format, not as simple text, which is originally supported by Engineering Workflow Management by default. Simulink saves some data in binary format, so the changes can only be tracked with this tool. There's no direct integration between using Engineering Workflow Management and Simulink. But there are perfect extending capabilities in Engineering Workflow Management due to which it can be used with practically any IDE from 3d parties. Those capabilities can track any changes in the file system that can be made by an external tool. Accordingly, you can compare those changes in Engineering Workflow Management history by opening Simulink's comparator when needed to visualize the changes.

Let's look at a working sample. For example, there's a Simulink project in which files are saved in the file system of our computer. From another side, Engineering Workflow Management interacts with the file system using special software built based on Eclipse IDE. Accordingly, when we create the Eclipse project, we have to point to the same Simulink files to trace the changes in them. To get it, clear the "Use default location" checkbox and input the correct path to Simulink project files in the "Location" field when creating the Eclipse project.

New project - set project name and location

2.) Eclipse Project

As said above, Simulink uses various file types, for example, such as *.m (scripts) and *.slx (models). As for scripts, they are typical text files and can be tracked by any source control system without a problem. But models are saved in binary format, and differences can be viewed with Simulink comparator only. So if we need to compare versions in a model, run Simulink comparator from Engineering Workflow Management history and send the compared versions there. For that, a small configuration of the Engineering Workflow Management Eclipse client should be performed in Eclipse preferences.

 
Preferences - options for external tool comparison and auto-resolve, 3-way conflict compare, auto-resolve

3.) Preferences 

Now we can work with Simulink to achieve our project goals. Provide needed changes and do required development in scripts, models, and any other files. When completed, run the Eclipse client and refresh files in the workspace (if not defined automatic detecting the external changes in preferences).

Changes in text files are compared with the default text comparator in Engineering Workflow Management.

text compare interface

4.) Compare text files

But if the project member compares the model file in the history of changes saved in Engineering Workflow Management, an external Simulink comparator will be open giving perfect visual details of changes between versions.

 
sldemo engine interface

5.) Compare model files

Conclusion

In conclusion, we can say that Simulink can be included in the software development process due to Jazz solutions. It's especially valuable when an organization uses a multi-project structure with many developers and engineers who must effectively communicate with each other to reach global business goals.

You can take a look at the next demo for the combined use of Simulink and Engineering Workflow Management to bring configuration and version control practices into your projects:

We will be pleased if you ask us any questions concerning the integrated use of Simulink with Jazz tools. Don't hesitate to contact Softacus for more information.

Softacus Services

We, in Softacus, are experts when it comes to consulting and service delivery of IBM software products and solutions in your business. We help our clients to improve visibility and transparency when licensing and managing commercial software, providing measurable value while increasing efficiency and accountability and we are providing services in different areas (see Softacus Services).
IBM ELM extensions developed by Softacus are free of charge for the customers who ordered IBM ELM licenses via Softacus or for the customers who ordered any of our services. If you are interested in any of our IBM ELM extensions, you found a bug or you have any enhancement request, please let us know at info@softacus.com.

Related and Referenced Topics

Blog Articles:

Basics of Links and Link Types in IBM DOORS Next Generation - learn the basics about the linking and link types in IBM DOORS Next.

Linking Techniques in IBM DOORS Next - article explaining basic concepts and showing multiple ways of creation of links between artifacts. 

Link By Attribute Feature in IBM DOORS Next -  the article explains how to use the "Link by attribute" function to automatically create, update, or delete one or more links between artifacts based on values in the attributes of the artifact. 

Softacus Widgets:

Link Switcher -  widget developed by Softacus, that converts the context of artifacts links in a very short time. 

Module Link Statistics -  extension that provides users with a quick overview of the amount of the links in specific link types in a module.

Link Type Change-  extension developed by Softacus designed to enhance the functionality of DOORS Next Generation by allowing users to manipulate the direction of a link or convert it to another type of link. 

Links Builder- extension that allows the users to create a link between two artifacts in DOORS Next Generation according to the certain rules. 

Link by Foreign Attribute -  this extension allows users to create links between artifacts in the selected module(s), based on the attributes values. 

Show Attributes of Linked Artifacts -  this extension shows the attributes and links of the artifact that is currently selected. 

Image

Softacus AG

Löwenstrasse 20
8001 Zürich
Switzerland
E-Mail: info@softacus.com
Tel.: +41 43 5087081
Fax: +41 43 344 6075 

VAT: CHE-108.817.809 MWST
D-U-N-S® Number 486800618

Image

Softacus GmbH

Westendstrasse 28
60325 Frankfurt am Main
Germany
E-Mail: info@softacus.com
Tel.: +49 69 34876544
Fax: +49 69 5830 35709

VAT: DE301903892
D-U-N-S® Number 313482703

Image

Softacus s.r.o.

Křídlovická 351/47A
603 00 Brno
Czech Republic
E-Mail: info@softacus.com
Tel.: +420 530333482
Fax: +41 43 344 6075

VAT: CZ07286333
D-U-N-S® Number 496165108

Image

Softacus s.r.o.

Tatranské nám. 3
058 01 Poprad
Slovakia
E-Mail: info@softacus.com
Tel: +421 911 083 612
Fax: +41 43 344 6075

VAT: SK2121388148
D-U-N-S® Number  2121388148

Offcanvas

Cookie Policy