Info
This question is closed. Reopen it to edit or answer.
Simulink : How to implement a dynamic frequency clock?
1 view (last 30 days)
Show older comments
Hi everybody! I have a problem with simulink, I have to control a stepper motor with an output signal of my simulink block. The stepper motor will move of one step for each pulse of my signal. In order to control the speed of the motor I would like to dynamicaly control the frequency of these pulses by implementing a "dynamic frequency clock". It seems really simple but I don't manage to do it... I tried to use the Clock block with a variable as parameter, but I don't manage to change the value of this variable dynamicaly... Has anyone a solution for me? Thanks
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!