Syntax

objS = struct(obj)

Description

objS = struct(obj) converts all public properties of obj and saves them into objS struct.

See Also

spinw | spinw.copy