www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@consumcgmodel/getparams.m
function p = getparams(c) %GETPARAMS Return parameters for object % % S=GETPARAMS(C) returns a structure containing the parameters for the % constraint object C. For CONSUMCGMODEL objects the fields are: % modptr : pointer to CAGE model % bound : scalar % bound_type : integer % weights : N by 1 column vector % oppoint : pointer to CAGE dataset % Copyright 2000-2005 The MathWorks, Inc. and Ford Global Technologies, Inc. p.modptr = c.modptr; p.bound = c.bound; p.bound_type = c.bound_type; p.weights = c.weights; p.oppoint = c.oppoint;