Hi there, I’m trying to do PIL simulation with my 280039 launch pad. But I found that in the newest version (4.9.8), the PIL block is missing from both the library browser and the documentation. In the old version (4.7.3), the PIL block was present. Is PIL deprecated now? What is the alternative?
By the way, I’m using student license, is this the reason?
PLECS PIL functionality as it existed in PLECS 4.7 has been deprecated.
You have a few options:
Use the PLECS Coder to generate code directly from your simulation model.
Use a software in the loop (SIL) based approach. This is useful for testing key algorithm development with the same code that can run on your MCU, albeit compiled for your PC instead of the MCU. The limitations are that it cannot use native libraries compiled for your target and you must develop your own behavioral peripheral models (or use the peripheral models from a Target Support Package for offline simulation).
Use an older version of PLECS.
Note for commercial users with a legacy PIL license there is still some limited support, available via support@plexim.com.