Skip to content
This repository was archived by the owner on Apr 16, 2020. It is now read-only.

AlphaYui/SLX-Viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SLX-Viewer

The SLX Viewer is an application to open and view Simulink model files with with the DOM-based .slx file format. Currently planned is the following functionality:

  • The ability to load any .slx file including blocks, wires and parameters
  • The ability to view those parameters in an intuitive GUI
  • The ability to compare the parameters of subsequent versions of the same model
  • The ability to also enter, view and compare all subsequent subsystems

Further functionality requests may be added in the future as soon as the first prototypes are finished.

Current state of development

The first prototype of the .slx-parser is complete and ready to use.

Further optimization is to be made but not necessary (86ms loading time for 15000 lines of XML) Systems, blocks and wires are seemingly all loading and initializing as intended.

A very early rendering prototype has been completed

The current prototype renders blocks as rectangles and wires as lines into a QPixmap. However, Qts QPainter::drawText(...) method is horrendeously inefficient, causing the rendering time per frame to drop from a very comfortable 0.5ms to ~140ms (for the 15000 line model). With further optimisation of the viewport and by implementing an event-based renderer this can hopefully be resolved.

Current objective

Finishing the first usable rendering prototype has highest priority. As it'll be built on Qt's event-based system, an early GUI prototype is also required.

About

The SLX Viewer is an application to open and view Simulink model files with with the DOM-based .slx file format.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors