file = []; opt.robot_def = 'direct'; opt.KM_method = 'MDH'; robot = get_robot(file,opt); robot.theta = [1,0,0]; robot = get_Kinematics(robot, opt);