function import(this,G)
% Imports model data.
% G is a structure with fields Name and Model.

%   Copyright 1986-2010 The MathWorks, Inc.

this.Name = G.Name;
this.Variable = G.Variable;
this.Model = G.Value;

% @ssdata or @frddata representation
if isa(this.Model,'frd')
    D = getPrivateData(chgTimeUnit(this.Model(1,1,:),'seconds'));
else
    D = getPrivateData(chgTimeUnit(ss(this.Model(1,1,:)),'seconds'));
end

this.ModelData = D;


