www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@xregdesign/saveobj.m
function des=saveobj(des) % SAVEOBJ % % Saveobj reduces the constraints size % Also, the constraints need to pass through the SAVOBJ filter so that % they are correctly saved. This is because the abstract constraint class, % conbase, needs to update some info at save time. % Copyright 2000-2008 The MathWorks, Inc. and Ford Global Technologies, Inc. des = ResetConstraints(des); des.constraints = saveobj( des.constraints ); des.model = saveobj(des.model);