L1=link([0 0 pi/2 0 0]); L2=link([-pi/2 0.150 pi/2 0 0]); L3=link([0 0.57 0 0 0]); r = robot({L1 L2 L3}) r.name = 'M' drivebot(r)