![]() |
subsrefPURPOSE
Selects components from a pose (operator: ()).
SYNOPSIS
function v=subsref(P,S)
DESCRIPTION
Selects components from a pose (operator: ()). Returns a vector,v, with the selected components of the pose. Parameter S selects the elements of the pose to return. CROSS-REFERENCE INFORMATION
This function calls:
SOURCE CODE
0001 function v=subsref(P,S) 0002 % Selects components from a pose (operator: ()). 0003 % 0004 % Returns a vector,v, with the selected components of the pose. 0005 % Parameter S selects the elements of the pose to return. 0006 0007 if strcmp(S.type,'()') 0008 v=P.data(S.subs{:}); 0009 end |