% items du menu 

%  run options

%   Copyright 2003
%   Centre for Nonlinear Dynamics in Physiology and Medicine

run_opt=uimenu(h_main,'label','run','interruptible','yes')
tog_run_stop=uimenu(run_opt,'label','stop',...
		    'callback','run_status=''stop'';')
tog_run_start=uimenu(run_opt,'label','start',...
		    'callback','run_status=''start'';simul(run_status);')
tog_run_continue=uimenu(run_opt,'label','continue',...
		    'callback','run_status=''continue'';simul(run_status);;')


%stepping option


step_opt=uimenu(h_main,'label','stepping')
un_seul=uimenu(step_opt,'Label','step','callback','type_step=1;')
plusieurs=uimenu(step_opt,'Label','flow','callback','type_step=0;');

%define state space, lattice, and neighbourhood option

init_opt=uimenu(h_main,'label','define');

load_init_opt=uimenu(init_opt,'Label','load',...
'callback','set_space(''recall_all'');');

label_space=['nb. of excited state  '  ;
             'nb of refractory state'];
state_opt=uimenu(init_opt,'Label','state space',...
'callback','h_setspace=creer_figval(label_space,mat_space,);');





lattice_opt=uimenu(init_opt,'Label','lattice',...
'callback','set_space(''lattice'');');
neigh_opt=uimenu(init_opt,'Label','neighbourhood',...
'callback','set_space(''neighbour'');');

%initialize : initial configuration

define_opt=uimenu(h_main,'label','initialize',...
'callback','set_init_cond;')

%protocol : protocol of simulation

protocol_opt=uimenu(h_main,'label','protocol',...
'callback','set_protocol;')

% save : save a simulation

save_opt=uimenu(h_main,'label','save')
