C-Script
The C-Script block allows custom functionality to be implemented in the C programming language. At simulation start, the integrated compiler translates your C-code on-the-fly to native machine code and links it dynamically into PLECS.
The C-Script block provides very fine-grained interaction with the solver, allowing you to implement virtually any functionality.

|