Is it possible to use RT-BOX or C2000 launchpad to download the C code of three-level SVPWM algorithm automatically?

I have already known that plecs provides the resources of three level PWM in offline simulation.

But I want to implemenet three-level SVPWM algorithm into the RT-BOX or launchpad as a controller, but they just lack the resources ,so is there an alternative way to realize that, like using the modulation index or C-script?

Maybe the example 'npc_solar_inverter_lcl_active_damping 'may help?