function result = wb_supervisor_node_get_center_of_mass(noderef) % Usage: wb_supervisor_node_get_center_of_mass(noderef) % Matlab API for Webots % Online documentation is available here obj = calllib('libController', 'wb_supervisor_node_get_center_of_mass', noderef); setdatatype(obj,'doublePtr', 1, 3); result = get(obj, 'Value');