urbiSetDeviceField

PURPOSE ^

Set a device field or a variable value

SYNOPSIS ^

function urbiSetDeviceField(con, deviceAndField, val)

DESCRIPTION ^

 Set a device field or a variable value

 e.g. setDeviceField(aibo, 'headPan.val', 5);
 e.g. setDeviceField(aibo, 'myvariable', 34);

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function urbiSetDeviceField(con, deviceAndField, val)
0002 % Set a device field or a variable value
0003 %
0004 % e.g. setDeviceField(aibo, 'headPan.val', 5);
0005 % e.g. setDeviceField(aibo, 'myvariable', 34);
0006 
0007 
0008 urbiSend (con, [ deviceAndField '=' num2str(val) ';']);

Generated on Tue 20-Dec-2005 19:05:34 by m2html © 2003