%% Set SimBiology Object Properties
% Load the G-protein model.

sbioloadproject('gprotein.sbproj');

%
% Select the kGd parameter.

kgd = sbioselect(m1,'Name','kGd');

%
% Display the properties of the parameter.

get(kgd)

%
% Change the values of multiple properties of the object.

set(kgd,'Constant',false,'Value',0.06)

%
% Check the updated property values.

get(kgd)

%
% Update a common property of multiple objects.

set(m1.Parameters,'Constant',false)

%
% Check the property values.

[m1.Parameters.Constant]

% Copyright 2019 The MathWorks, Inc.