www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@coninputfactor/end.m

    function nf = end(cif, k, n) %#ok k and n are ignored
%END Index of last element in constraint input factor
%
%  NF = END(CIF, K, N)
% 
%  END(CIF,K,N) is called for indexing expressions involving the constraint
%  input factor CIF when END is part of the K-th index out of N indices. 
%
%  See also CONBASE, CONINPUTFACTOR.

%  Copyright 2004-2005 The MathWorks, Inc.

nf = length( cif.Name );

%------------------------------------------------------------------------------|
% EOF
%------------------------------------------------------------------------------|