You can embed MATLAB scripts inside SIMULINK files, which are binary blobs :(
The core format of these is a bunch of XML in a ZIP file, so if we know the nodes in which these scripts are contained in, we can extract them and analyse them.
For an MVP, only reading these files will be supported, which would be enough to produce e.g. metrics.
[x] work out file format for .slx files
[x] extend front-ends and error handling to process virtual files
[x] add configuration to not go into SIMULINK files
You can embed MATLAB scripts inside SIMULINK files, which are binary blobs :(
The core format of these is a bunch of XML in a ZIP file, so if we know the nodes in which these scripts are contained in, we can extract them and analyse them.
For an MVP, only reading these files will be supported, which would be enough to produce e.g. metrics.
.slx
files