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:

 採用された回答

Birdman
Birdman 2017 年 12 月 20 日

0 投票

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 件のコメント

duong tran
duong tran 2017 年 12 月 20 日
thank you! thank you very much, @Birdman
duong tran
duong tran 2017 年 12 月 20 日
編集済み: duong tran 2017 年 12 月 20 日
Hey, Birdman. I'm begin to learn about gui matlab code, and having programming problems for PID controller my 5link_robot above. Can you help me? Thank you man again.
Birdman
Birdman 2017 年 12 月 20 日
I can help you, but you need to try something, come up with errors. Then share it as a question in forum. I will help.
duong tran
duong tran 2017 年 12 月 20 日
Do you have documentation on PID controller for robot simulation on matab? or link youtube tutorial on it?
Birdman
Birdman 2017 年 12 月 20 日
You can google it.
duong tran
duong tran 2017 年 12 月 20 日
ok, thank man very much!
Birdman
Birdman 2017 年 12 月 20 日
You are welcome!
Naseeb Gill
Naseeb Gill 2017 年 12 月 20 日
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 2017 年 12 月 21 日
I'm coding GUI to simulation for forward kinematic and inverse kinematic of 5 link robotics, NASEEB SINGH.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

タグ

質問済み:

2017 年 12 月 20 日

コメント済み:

2017 年 12 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by