Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
MBVC – Model Based Version Control:  An Application of Configuration Management on Graphical Models
KTH, School of Industrial Engineering and Management (ITM), Machine Design (Dept.).
2007 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesisAlternative title
MBVC – Versionshantering av Grafiska Modeller : En Applikation av CM (Swedish)
Abstract [sv]

Filbaserad versionshantering är ett verktyg inom mjukvaruutvecklingen, och det

existerar ett stort utbud av kommersiella produkter. Problemet är dock att de flesta

verktygen fungerar endast för textbaserade filer, och saknar någon motsvarighet till

hantering av ’fine grained’ filer som exemplevis grafiska Simulink modeller. Eftersom

Simulink är ett utspritt modelleringsvertyg och används inom flera utvecklingsarbeten

och särskillt inom mekatronik, så är det intressant att studera möjligheten att utveckla ett

sådant verktyg.

Genom analys av två tillgängliga konfigurationsverktyg: CVS och Rational Clear Case,

samt studie av diverse publikationer och rapporter av versionshantering och algoritmer

angående ’

diff’ och ’merge

’ funktioner, så utvecklades ett enkelt sådant verktyg.

Programmet utför enkel skillnads- och föreneingsfunktioner (2-way merge) på grafiska

Simulink modeller. Verktyget fungerade inte som det var uttänkt i början men det

lyckades ändå visa skillnader mellan Simulink modellerna både grafiskt och

textmässigt. Ett tredje verktyg, Rhapsody, som används inom MDD studerades, samt

dess samarbete med Simulnik testades. Resultatet visar att programmens samverkan är

möjlig men något komplex och kräver erfarenheter från båda programmen.

Studien visar att det går att bygga ett mer avancerat konfigurations-hanteringsprogram

för Simulink modeller, såsom ett 3-way merge, men vissa svårigheter som en korretk

koppling av blocken måste först lösas.

.

Abstract [en]

File-based version control consists of tools in the software engineering industry, with

many available commercial products that allow multiple developers to work

simultaneously on a single project. However these tools are most commonly used on

plain textual documents such as source code.

There exist few tools today for versioning fine-grained data such as graphical Simulink

models. Since Simulink is widely used as a modeling tool in numerous engineering

fields, nonetheless in the mechatronics field, it will be interesting to study the possibility

of developing a tool for version control of graphical models.

Two textual software configuration management (SCM) products, CVS and Rational

Clear Case, were studied and their functionalities were analyzed, along with a different

number of research topics on document versioning. The existing algorithms of ‘

diff

’ and

merge

’ functions were also studied to give an understanding of how these functions

work for text based documents. The knowledge gained from the tools, existing

algorithms and literature on the subject were used to write MATLAB programs that

perform

diff and merge

on Simulink models.

The resulted programs perform 2-way diff and merge on Simulink models and display

the differences graphically using color codes. Although the tool did have some

limitations and did not perform all the expected SCM functions, it still displayed

differences between Simulink models. Displaying of results occurred both graphically

and textually. A third tool called Rhapsody was studied which is used in model driven

development and its interaction with Simulink was also studied, showing that is possible

but rather complex and requires knowledge in both programs.

The study shows thus that it is possible to build and develop configuration management

tools for graphical models in Simulink, possibly also the 3-way merges, but certain

difficulties such as connecting blocks correctly must firstly be solved.

Place, publisher, year, edition, pages
2007.
Series
MMK 2007:38 MDA261
National Category
Engineering and Technology
Identifiers
URN: urn:nbn:se:kth:diva-100813OAI: oai:DiVA.org:kth-100813DiVA: diva2:545089
Uppsok
Technology
Supervisors
Examiners
Available from: 2012-08-17 Created: 2012-08-17 Last updated: 2012-08-17Bibliographically approved

Open Access in DiVA

Mehiar Moukbel(668 kB)242 downloads
File information
File name FULLTEXT01.pdfFile size 668 kBChecksum SHA-512
45473f126c7815148ceceabaef00371623f94df4efd0d5e39284dce795f4198f4bc8b36bdd28405ce093d905ed08fe29c7296221cb5f7c3e4793ea0ea7e8d9d6
Type fulltextMimetype application/pdf

By organisation
Machine Design (Dept.)
Engineering and Technology

Search outside of DiVA

GoogleGoogle Scholar
Total: 242 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 112 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf