PWM DUTY CYCLE SIMULINK

2 visualizaciones (últimos 30 días)
PAUL
PAUL el 14 de Oct. de 2024
Editada: Jaskirat el 29 de En. de 2025
I have been working on nxp s32k312 microcontroller board, currently i am facing issue with the pwm duty cycle.
in the below image i am unable to change the pwm duty in the simulink model even though the generated c code seems to have it in place. Can some explain please. I have uploaded the model file(zip)

Respuestas (1)

Jaskirat
Jaskirat el 29 de En. de 2025
Editada: Jaskirat el 29 de En. de 2025
There does not seem to be a direct way to access the PWM duty cycle from the Simulink block.
However the following file exchange might be helpful-
Alternatively, you can also refer the following page to create your own driver block-

Categorías

Más información sobre Simulink Supported Hardware en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by