function subcomponent = getsubcomponent(this, Name)
%GETSUBCOMPONENT Get the subcomponent.

%   Copyright 2008-2011 The MathWorks, Inc.
%     

subcomponent = [];

for i=1:length(this.SubComponents)
    if strcmpi(this.SubComponents(i).SubComponentName, Name)
        subcomponent = this.SubComponents(i);
        return
    end
end        

% [EOF]
