You need to select in the PWM block the right PWM user Channel corresponding to the desired PIN.
To do so, when you click on the "Help" button of the PWM block, you will find the assignment table of User Channel / PIN.