www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgoptimoutnode/setPreserved.m
function obj = setPreserved(obj, Preserve) %SETPRESERVED Set whether to preserve the output data in the node. % % OBJ = SETPRESERVED(OBJ, PRESERVE) sets whether the output data in the % node should be overwritten with new optimization outputs or not. % Copyright 2006 The MathWorks, Inc. obj.Preserve = Preserve; xregpointer(obj);