www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@xregmodel/gettarget.m

    function Target= gettarget(m,index)
%GETTARGET

%  Copyright 2000-2007 The MathWorks, Inc. and Ford Global Technologies, Inc.



c= m.Inputs;
 if nargin>1
     c = c(index);
 end
 
 Target= getRealTargets(c);