You can have your plant in S-domain, a digital control loop with C++, run transient (.tran) or frequency response analysis (.bode). Mike Engelhardt provided every tool you need in Qspice.