Skip to content

Latest commit

 

History

History
34 lines (17 loc) · 1.7 KB

File metadata and controls

34 lines (17 loc) · 1.7 KB

SimuLink Viewer Project

Aim and Usage

The aim of this project is to develop a software tool that can read Simulink MDL files and display their contents in a user-friendly way using a Java-based graphical user interface (GUI). The tool will provide users with the ability to load Simulink MDL files and view their contents in a hierarchical structure. The GUI will allow users to navigate through the model components and see their properties and connections. The software will consist of two main components: a Simulink MDL file parser and a Java-based GUI. The parser will be responsible for reading the MDL file and extracting the model information, including the block diagram, parameters, and connections. The GUI will provide a user-friendly interface for displaying the model.

How it works?

1- We mainly cares about system XML File so we take the MDL files as a long string and look for the XML file we care for to extract it as a new file.

2- We use DOM Parser to extract the data we need about blocks and lines.

3- We made Arrow and Block Super Classes so each time we find a block or a line we can instantiate objects from them and put them in an ArrayList.

4- We used the ArrayLists to draw and view the model in a user-friendly way.

5- We used CSS file for styling.

Examples:

image

image

Credits:

Mazen Saaed Farouk Ahmed 2001080

Hazem Zainhom Abdel-alim 2000168

Amgad Shrief abdelrahman 2000121

Omar Nader Ahmed Gamal El Din Ibrahim 2001714