create and send pwm signal from matlab to arduino

Hello

Can some one please help me on this.

I want to know how to create code or what function to use in MATLAB that will allow me to send PWM signal of 10 kHz and duty cycle of 55% to one of the output pins on the arduino uno.

It Must Be In MATLAB Environment.

Please if you one can help me that will be great this is for my project.

Thank You

If the duty cycle is fixed at 55%, how is that PWM?

Paul

You can send the Arduino whatever required information over e.g. Serial/COM port. I.e. you can send the frequency once, and the duty cycle whenever it changes. Then let the Arduino create the PWM signal from that information.

(deleted)