www.gusucode.com > mbcexpr 工具箱 matlab 源码程序 > mbcexpr/@cgfeature/MakeInputList.m

    function [V,N] = MakeInputList(E,V,N,EXPRT)
%MAKEINPUTLIST make input list for Simulink strategy model
%
% [V,N] = MakeInputList(E,V,N,EXPRT)

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


p = address(E);
if EXPRT
    % EXPRT build - subfeatures must be nested subsystems
else
    % ordinary build
    if ~ismember(p,V)
        V = [V;p];
        N{length(V)}=[];
    end
end