Creating a subsystem reusable across models

Hi,
(I am quite new to Plecs, so please forgive me if I’m asking something obvious. I searched for an answer before asking here)
I am programming a C2000 MCU with PLECS along with other collegues. We have two different hardwares, but similar needs: CAN communication with a supervisor.

My goal is to create a subsytem or component that could be linked into multiple models. Ideally, the “supervisor interface subsystem” would be in its own file and have its own life.

Is it doable ? if yes; how ?

Thanks for help

There is a tutorial titled “PLECS: Component Libraries (Standalone)” accessible on the Plexim tutorials page.

Be sure to check out Section 7 on Model Referencing, which can provide additional flexibility. One key difference is that users don’t have to undergo a manual step to install the library in the PLECS Preferences, instead referring to the source component via a relative or absolute path.

Splendid! Works like a charm
Many thanks