ARDUINO DUE and Simulink Change Resolution and PWM Frequency

Thanks for your answer, but this libary is for the Arduino IDE, how can i implement this in SImulink?