www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@conbase/loadFitOptions.m
function [spo, bpo, cfo] = loadFitOptions(con) %LOADFITOPTIONS Get fit options from a constraint at load-time. % % [SPO, BPO, CFO] = LOADFITOPTIONS(CON) % % See also CONBASE, % CONBASE/LOADOBJ, % CONBASE/PUPGRADEFITOPTIONS. % Copyright 2005 The MathWorks, Inc. and Ford Global Technologies, Inc. if iscell( con.Version ), [spo, bpo, cfo] = pUpgradeFitOptions( con, con.Version{2:4} ); else spo = getspecialpointoptions( con ); bpo = getBoundaryPointOptions( con ); cfo = getConstraintFitOptions( con ); end %-------------------------------------------------------------------------- % EOF %--------------------------------------------------------------------------