pos = fn_getpos(hobj,unit)
get the position of specified object according to specific unit
Thomas Deneux
Copyright 2015-2017
Published with MATLAB® R2015a