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

    %% Plot Data from an Ensemble Run
% This example shows how to plot data from an ensemble run.
%%
% Load the radiodecay model.

% Copyright 2015 The MathWorks, Inc.

sbioloadproject('radiodecay.sbproj','m1');
%%
% Configure the model to run with the stochastic solver. By default, there
% will be no interpolation.
cs = getconfigset(m1, 'active');
cs.SolverType = 'ssa';
cs.SolverOptions.LogDecimation = 100;
%%
% Run an ensemble simulation and view the results.
simDataObj = sbioensemblerun(m1, 10, 'linear');
sbioplot(simDataObj);