|
Re: Updating variables in declared function handles
Posted:
Mar 15, 2013 12:38 AM
|
|
"kees de Kapper" <kees_de_kapper@hotmail.com> wrote in message news:khsrn5$4bu$1@newscl01ah.mathworks.com... > A small update. > > I changed "classdef MyTestObj" into "classdef MyTestObj < handle" > > Now the object itself will be updated. However, when i do > "UpdateData(obj);", I will obtain "obj", and "ans" which is a copy of > "obj". How can I get rid of "ans", without "clear ans"?
Define UpdateData with 0 output arguments.
-- Steve Lord slord@mathworks.com To contact Technical Support use the Contact Us link on http://www.mathworks.com
|
|