Skip to content
Snippets Groups Projects
Commit e42d5d36 authored by Lauren McCormick's avatar Lauren McCormick
Browse files

Script to run simulations of microtubule growth at various concentrations.

parent eb090cc8
No related merge requests found
% Example code - run microtubule simulations in absence of GTPase activity
% using a range of tubulin concentrations. Simulation defaults have been set
% according to conditions used in the publication. 'zz' is arbitrary
%
% NOTE: Path to fortran executable is specified in Smtl.m
%
% For usage details, see comments in Smtll.m and Smtl.m
% Directory where you want your stuff to run. Files will be stored here.
md = '/home2/s422146/matlab_codes/ElifeFinal2022';
cd (md);
% Path to Smtll.m and Smtl.m
addpath('/home2/s422146/matlab_codes/ElifeFinal2022');
% Create Smtll, specify directory and filename ('varyConcentration')
% Simulation Model 44, Start Condition 1, 50 simulation replicates.
zz = Smtll(md,'varyConcentration',44,1,50)
% Specify a concentration range to test [M]
zz.setPara(2).list = [7.5e-6 1e-5 1.25e-5 1.5e-5 1.75e-5];
% Parameters can be changed interactively in Matlab GUI, or also like this:
% r1.setPara(1).list = 740959; % change kon;
zz=zz.addGenerated();
zz=zz.run()
% Visualize aggregate results in zz.stat
% To load one Smtl out of the Smtll:
zz_1=zz.getSmtl(1)
% Visualize individual simulation results in zz_1.stat
% Visualize individual simulation outputs in zz_1.data
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment