Documentation Center

  • Trial Software
  • Product Updates

Simulating the Model

After you create a model, you can simulate the dynamic behavior of the model.

  1. Run the simulation.

    [t_ode, x_ode, names] = sbiosimulate(Mobj);
  2. Plot the results.

    figure;
    set(gcf, 'color', 'white');
    plot(t_ode, x_ode(:,1:4));
    legend(names, 'Location', 'NorthEastOutside')
    title('Gene Regulation');
    xlabel('Time (seconds)');
    ylabel('Species Amounts');
    

    MATLAB® plots a figure with the simulation results.

Was this topic helpful?