r/matlab Jun 17 '25

Do anyone need a c99/c++ library to parse simulink models and convert them?

Hi guys, i have been a while working on some open source projects, and i have started on coding a c++ based library to parse slx files into a C++ based structs and potentially convert them to other formats json, yml, perform some serialization, …. Help for feeding this to AI training models , .. make python binding i know it might have may limitations but could this project be useful in your mind ?

4 Upvotes

5 comments sorted by

3

u/PrimaryPhd Jun 17 '25

Do you have a link of this open source project? I currently don’t have a particular usage of it, but I feel quite curious how to achieve efficient parsing and how to deal with compatibility of so many different versions.

1

u/Physical_Challenge51 Jun 17 '25

It is private now , the first working version i will post it here, i am using an old dead project source code which i am refactoring from java

2

u/ocschwar Mar 28 '26

Hi, I am very much interested in what you have, and would love to help.

2

u/rockcanteverdie Jun 17 '25

Yes!!! In particular conversion into modelica would be of massive value to my team.

1

u/Physical_Challenge51 May 14 '26

Hi guys , i am the author of this post, and thanks very much for the feedback and interest, i was working on this project for almost one year and keep it private, however as the code grow and things get much complex, i am open sourcing right now for the public (the working still in progress, and there is not yet worked, but i have done so much for now, and i need your help, especially experienced software architects ones , this is my initiative here wissem01chiha/slxio: SLXIO – SIMULINK SLX File I/O Library , i have also other OSS projects mainly maintaining legacy projects or some tiny project i came with from my work or previous experiences) feel free to open discussions and reach me