Institut de Robòtica i Informàtica Industrial

subsref

PURPOSE ^

Returns a section of the trajectory (operator: {}).

SYNOPSIS ^

function P=subsref(T,S)

DESCRIPTION ^

 Returns a section of the trajectory (operator: {}).

 Retrives a sub-set of the poses from the trajectory. The poses to
 retrive are indicated by S. 
 The return is in the form of an cell array of poses.

CROSS-REFERENCE INFORMATION ^

This function calls:
This function is called by:

SOURCE CODE ^

0001 function P=subsref(T,S)
0002 % Returns a section of the trajectory (operator: {}).
0003 %
0004 % Retrives a sub-set of the poses from the trajectory. The poses to
0005 % retrive are indicated by S.
0006 % The return is in the form of an cell array of poses.
0007 
0008   if strcmp(S.type,'{}')
0009     P=T.data{S.subs{:}};
0010   end


Institut de Robòtica i Informàtica Industrial

Generated on Fri 24-Jul-2009 12:32:50 by m2html © 2003