ERROR WHEN WRITING GUI FOR 5 LINK ROBOT

1 Ansicht (letzte 30 Tage)
duong tran
duong tran am 20 Dez. 2017
Kommentiert: duong tran am 21 Dez. 2017
Hi, Everybody. Help me!
Error using gui5link>theta1_Callback (line 91)
Invalid value in 'robofinal/Slider Gain' for parameter 'gain'. Value '58.5277' is out of range.
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in gui5link (line 42)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)gui5link('theta1_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.
This is my GUI code:

Akzeptierte Antwort

Birdman
Birdman am 20 Dez. 2017
You had some problems about setting the limits for sliders in Simulink file. Firstly I changed them and then you gave wrong data type into a function in your code, I also fixed it and this GUI works well with the model now.
  9 Kommentare
Naseeb Gill
Naseeb Gill am 20 Dez. 2017
Hello, duong tran It will be informative to me and others as well if you can explain for what you make this GUI. By running GUI I found out that at one point you input thetas values and output values are X,Y and Z values and at other point you input X,Y and Z vaues and output will be thetas values. What Simulink is doing here?
Thanks.
duong tran
duong tran am 21 Dez. 2017
I'm coding GUI to simulation for forward kinematic and inverse kinematic of 5 link robotics, NASEEB SINGH.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Robotics finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by