www.gusucode.com > simbio 案例源码程序 matlab代码 > simbio/FindOutHowAQuantityIsUsedInAModelExample.m

    %% Find out how a quantity is used in a model
% 

%%
% Load a sample project.
sbioloadproject gprotein.sbproj

%%
% Check and see how the rate of G protein inactivation parameter |kGd| is
% used in the model.
kGd = sbioselect(m1,'Name','kGd');
[components,usages] = findUsages(kGd);

%%
% |components| is a vector of components that use the parameter |kGd|.
% Display these components.
for i = 1:length(components)
    components(i)
end
%%
% Based on the information from the |usages| table, the parameter is being
% used as a reaction rate parameter.
usages