PWM input from Simulink-> PWM output TIM1
Hi, after some problems with the interface between Simulink and CubeMX, I've managed to get the TIM1 of the STM32F767ZIT working at a desired frequency and duty cycle using the next blocks:

My question is, is there any way to input a PWM signal to modify the duty output of the timer instead of inputting the duty cycle to the TIM1 block as a constant? I need to use the next signal from Simulink for example to modify the duty of the TIM1.

Thanks!
#stm32-mat/target-matlab #simulink #tim1 #tim-pwm #nucleo-stm32f7