MATLAB: How to generate code using Real-Time Workshop (RTW) for a PSpice SLPS interface model

auto-codeautocodecompilerlanguagertw-ecsimulink codertarget

I have a PSpice SLPS model running as a subsystem in the main Simulink model. This PSpice SLPS model is built using the PSpice SLPS library.
I want to know if auto-code generation using Real-Time Workshop (RTW) is supported for the SLPS interface model.

Best Answer

PSpice SLPS and Cadence Allegro AMS Simulator SLPS are third party products, and MathWorks does not test or guarantee their performance and behavior.
If the developers for the product have structured it in a way that code can be generated, then Real-Time Workshop or Real-Time Workshop Embedded Coder can be used to generate code from the blocks. As a bare minimum, the blocks should come with their TLC files which will tell RTW/RTW-EC how to generate code for them.
For further details please contact the third party developers at:
www.orcad.com