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-
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!