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.

 Réponse acceptée

Steve Miller
Steve Miller le 1 Avr 2019

0 votes

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

Plus de réponses (0)

Produits

Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by