MATLAB: Set property of graphicsobject in array before R2014b

dot notation before r2014bset nested property

I have want to make my GUI compatible <R2014b (see https://de.mathworks.com/help/matlab/graphics_transition/graphics-handles-are-now-objects-not-doubles.html) Specifically, my question is how to write the following using set(object,value) since "." (dot) notation is not allowed…
handles.panel.children(4).position(3) = some value

Best Answer

pos = get(handles.panel.children(4), 'Position');
pos(3) = some value;
set(handles.panel.children(4), 'Position', pos);
Maybe it is easier to use this tool: FEX: DotNot, but I have not tested this yet.