verification of ccs studio code using simulink

34 visualizaciones (últimos 30 días)
NILESH
NILESH el 9 de Nov. de 2024 a las 5:48
Editada: Pramil el 18 de Nov. de 2024 a las 7:34
I have wrriten a code for a power converter with 24 PWM pulses. The code is written completely in ccs studio for TMDSCNCD28379D to control the converter in closed loop.
I have made power circuit for the converter in SIMULINK.
Now, i want to verify my ccs code using SIMULINK by integrating the power circuit and ccs code.
How can i do that to check the code before running the hardware at actual rating?

Respuestas (1)

Pramil
Pramil el 18 de Nov. de 2024 a las 7:32
Editada: Pramil el 18 de Nov. de 2024 a las 7:34
Hi Nilesh,
You can use the "S-Function" block to add the "CCS" code into Simulink. You can refer the following link for more information on "C/C++ S-Functions":
Also refer the following MATLAB Answer for integrating "CCS" code with "S-Function":
hope it helps.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by