From: Edmund on
Hi,

Anyone here knows any simulink?

I am trying to send the data "#0P%d" through a serial port block, how can I do it since simulink does not accept sprintf or fprintf. The #0P%d is the servo coordinates angle where #0 is the selection of the servo and P%d is the position such as P1500.

I must provide these characters above to a servo controller connected with COM 4. Any suggestions please ?

thanks
Edmund