%% Get Model Dosing Information
%
%
% Load the bioavailability model.

sbioloadproject('Bioavailability.sbproj');

%
% Retrieve the name of the model.

modelName = get(m1,'Name')

%
% Check the dosing information.

m1.Doses

%
% Retrieve the TimeUnits and AmountUnits properties of the first dose (Oral).

propValues = get(m1.Doses(1),{'TimeUnits','AmountUnits'})

%
% Retrieve the properties of both the Oral and IV doses.

propValues = get(m1.Doses,{'TimeUnits','AmountUnits'})

%
% Copyright 2012 The MathWorks, Inc.