Matlab has encountered an internal problem and needs to close.

clc;
clear all;
a3=200;
d1=130;
d5=275;
d7=90;
q1=50;
q2=25;
q3=40;
q4=35;
q5=80;
q6=60;
q7=110;
Ss=( [q1 q2 q3 q4 q5 q6 q7]* pi/180);
l(1) = Link([0 d1 0 0]);
l(2) = Link([0 0 0 -pi/2]);
l(3) = Link([0 0 a3 pi/2]);
l(4) = Link([0 0 0 -pi/2]);
l(5) = Link([0 d5 0 pi/2]);
l(6) = Link([0 0 0 -pi/2]);
l(7) = Link([0 d7 0 pi/2]);
hamir=SerialLink (l);
hamir.name='hamir.1453';
[Q,QD,QDD] = mtraj(@lspb, [0 2 3 1 0 2 0], [0 2 3 1 0 2 0],20);
x=[Q,QD,QDD];
for i=1:7
hamir.dyn(i)
i=i+1;
end
qdd=hamir.rne(x)
ı want to find inverse dynamics of robot according to given links and when ı run code it gives an error window and then ı need to close matlab can u help me how can ı fiz this error?

Answers (0)

Categories

Asked:

on 7 Jun 2020

Community Treasure Hunt

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

Start Hunting!