function vec2f = wb_supervisor_field_get_mf_vec2f(field, index) % Usage: wb_supervisor_field_get_mf_vec2f(field, index) % Matlab API for Webots % Online documentation is available here obj = calllib('libController', 'wb_supervisor_field_get_mf_vec2f', field, index); setdatatype(obj,'doublePtr', 1, 2); vec2f = get(obj, 'Value');