Need help to run dynamixel MX series wheel mode through matlab

I’m already run dynamixel through matlab by watching robotics costumer support video on YouTube but it rotate only 360°. I’m trying to run dynamixel in wheel mode with variable speed so please help me and share sample code for it…
Thankful for your help