You cannot modify the PLECS Make behavior. You can include external libraries directly as C-Code, which works well for simple situations. See Using header file in C-script - #3 by Marco_Guerreiro for an example. However, for more complex situations I would recommend using the DLL block which will give you the most flexibility for compiling your code and linking against external libraries.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| C-script vs DLL vs PIL | 4 | 1932 | August 24, 2020 | |
| Transfer the code in matlab to plecs | 3 | 2753 | June 24, 2022 | |
| Speed up simulation by building the whole model in plecs? | 1 | 1874 | April 10, 2019 | |
| Create an arbitrary delay time using C-script | 3 | 1996 | January 5, 2021 | |
| Simulink C2000 Realtime Mode | 1 | 308 | September 29, 2025 |