www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@conconvexhull/pslGetParameters.m
function ud = pslGetParameters(con) %PSLGETPARAMETERS Get parameters required for Simulink version of constraint. % % UD = PSLGETPARAMETERS(CON) % % See also CONCONVEXHULL, % CONBASE/SLSETPARAMETERS, % CONBASE/PSLGETPARAMETERS. % Copyright 2005 The MathWorks, Inc. % Set up parameters ud = struct( ... 'A', con.A, ... 'b', con.b, ... 'Xo', con.CenterPoint, ... 'Scale', 1./con.ScaleFactor ); %------------------------------------------------------------------------------| % EOF %------------------------------------------------------------------------------|