

%% Load all the models
% You can make an array of models just like you can make any MATLAB array.
% This can simplify loading in multiple related models, on which you might 
% want to run some calculation.  The following code loads 6 models from
% Feinberg et al's work.

nModels = 6;

disp('Loading Models...');
for i = 1:nModels
    disp(sprintf('\tLoading model %d...', i));
    models(i) = loadModel(sprintf('Model%d', i));
end
disp(sprintf('\tDone Loading Models'));

%% run stability check on each model
% It's easy to check for stability.  Just use the function |isMultistable|
% on each candidate model.

for i = 1:nModels
    isMultistable(models(i));
end