Using Git to track changes in a Plecs model development

Has anyone used GIT or GITHUB to keep track of PLECS model development? If so any examples/links would be appreciated. I can see examples where Github has been used to share PLECS models, but I don’t think they have used the tool to track changes

Hi mcdos,

Standalone PLECS models are stored as plain text files and can be opened with any text editor (for example, VS Code). You can use standard Git tools to view differences between revisions directly in the text. While this can be a bit cumbersome, it can still be very useful for understanding what has changed.

Additionally, PLECS provides a GUI-based diff tool that makes it easier to compare model revisions. Please see the following documentation for details on how to use it: Diff Tool — PLECS 5.0 Documentation

Hope this helps!

Thanks Ahmed,

I found a useful approach using the GITHUB desktop tool and tested it, it seems to work. I wasn’t aware of the Diff tool. Looks handy :slight_smile: