Hi Sandro,
This is possible. Perhaps your directory structure doesn’t match how you are entering the relative paths. Attached is a simple example that works. The external C files are in the “lib” folder that is in the same directory as the PLECS model.If the files were structured differently, say “proj/models/scriptTest.plecs” and “proj/lib/my_functions.c” then you would change the include to: #include "…/lib/my_functions.c"Hope this helps address your issue. Regards,Bryan
scriptTest.zip (3.41 KB)