function testDemo() tEnd = 6; model_generator("demo1"); % creates Matlab scripts for all coupled models out = model_simulator("demo1", tEnd); % runs model, collects results in out plot_results(out, tEnd); % user function to create output end
constructor | defines parameters and initial values |
delta | transition function |
lambda | output function |
ta | lifetime of a state as [a,b] representing a + b ε |