%% Reorder Reactions in SimBiology Model
% Import a model.

modelObj = sbmlimport('lotka');

%
% Display reactions in the model.

modelObj.Reactions

%
% Reverse the order of reactions in the model.

reorder(modelObj,modelObj.Reactions([3 2 1]));

%
% Display the new order of reactions.

modelObj.Reactions

% Copyright 2012 The MathWorks, Inc.