fn_get

Contents

Syntax

x = fn_get(h,f[,'cell|struct'])
x = fn_get(h,f1,f2,...)
[x1 x2 ...] = fn_get(...)

Description

Returns values for properties f of objects with handle h
output is a cell array or a structure according to flag.
If the flag output is not specified, output is a cell array if only one
property is requested, and a structure if more than one.
fn_get also has some heuristics to get properties that do not exist:
- properties 'xdata', 'ydata' and 'zdata' for object of type 'text' are
  defined from its property 'position'
See also fn_set

Source

Thomas Deneux

Copyright 2007-2017