model doesn't update in mechanics explorer

hello guys, now i have a robot arm and i need to link it with gui .
i managed so far to link the gui with simulink model ... but when i update the value fom the gui the simulink "gain slider" value updates but the robot is stick there with it's initial position.
any suggestion to move it ?
Thanks in advance.

 Accepted Answer

Hi - hard to debug without seeing the model.
Have verified:
  1. Changing the signal without using your UI affects the model.
  2. Changing UI affects the value of the signal
There are many ways that your UI could be working but you cannot see the results
  1. Units - you are moving it millimeters instead of meters
  2. Update rate - maybe the simulation is running really fast but the animation is in "real time" so your adjustment to the UI won't be visible for a few minutes.
Good luck!
--Steve

More Answers (0)

Products

Release

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!