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)

답변 (1개)

Jaskirat
Jaskirat 2025년 1월 29일
편집: Jaskirat 2025년 1월 29일

1 개 추천

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-

카테고리

도움말 센터File Exchange에서 Simulink Supported Hardware에 대해 자세히 알아보기

제품

릴리스

R2024a

질문:

2024년 10월 14일

편집:

2025년 1월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by