Arduino Mega 2560 20 khz PWM Generator with Matlab Simulink Problem

I want to 20 khz PWM with Matlab Simulink. But it is constant 490 hz.How can I generate 20khz PWM with Matlab Simulink.Can you help me please this problem?

This seems like a question for a Matlab Forum rather than this Arduino Forum.

...R