Institut de Robòtica i Informàtica Industrial

subsref

PURPOSE ^

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:
This function is called by:

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


Institut de Robòtica i Informàtica Industrial

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