Skip to content

rye141200/Advanced-Programming-Project

Repository files navigation

Advanced Programming Project

SimuLink file parser and displaying in GUI

Description

This Java program parses given Simulink .mdl files and extract blocks attributes. Creating new objects with the extracted attributes from the .mdl file and then displays these blocks in GUI using these attributes to display them.

How to run the program

  1. Download the "Advanced Programming Project" in the GitHub repo.
  2. Make sure your IDE has javafx library installed.
  3. Download the "Example.mdl" file for test causes.
  4. Run the code and follow the program instructions to pass file path (don't forget to remove the "" when passing the path of Example.mdl)

Documentation

Major Parsing Methods

Method name Uses
FileReader() Used to read the .xml file and extract the useful content for GUI.
ParseLines() Used to parse lines from the .xml file.
ParseBranches() Used to parse branches from the .xml file.
ParseBlocks() Used to parse blocks from the .xml file.

GUI methods

Method name Uses
drawArrow() Draws arrows.
drawBlock() Draws blocks with specifications.

Classes

image image image image image image image image

Project screenshot

image

Team Members

Name ID GitHub Username
Ahmad Youssef Mansour Mahfouz 2002238 rye141200
Mohammed Mostafa Mahmoud 2001299 mohamed-most
Mazen Waleed Abdelmonem Zein 2000978 MazenZein1512
Magdy Nabil Wahba 2001964 magdynabil22

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages