simulhope_batch

PURPOSE ^

$Id: simulhope_batch.m,v 1.9 2004/05/17 16:25:43 dalai Exp $

SYNOPSIS ^

function simulhope_batch(ui,dir)

DESCRIPTION ^

 $Id: simulhope_batch.m,v 1.9 2004/05/17 16:25:43 dalai Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % $Id: simulhope_batch.m,v 1.9 2004/05/17 16:25:43 dalai Exp $
0002 
0003 
0004 function simulhope_batch(ui,dir)
0005 %function simulhope_batch(model,coverage,mob,pref)
0006     
0007 %  par = parameters_set(model,coverage,mob);
0008 
0009 if (parameters_chk(par) == 0)
0010     [par,bs,mob,msg_mcn,msg_std] = simulhope_cmd(ui,model,coverage,nb_mob,nb_pedestrian,pspeed,nb_vehicular,vspeed,lambda,tmax);
0011     stats = simulhope_stats(par,bs,mob,msg_mcn,msg_std);
0012     % assign to the "par" structure
0013     assignin('base','par',par);
0014     % assign to the "bs" structure
0015     assignin('base','bs',bs);
0016     % assign to the "mob" structure
0017     assignin('base','mob',mob);
0018     % assign to the "msg" structure
0019     assignin('base','msg',msg);
0020     % assign to the "stats" structure
0021     assignin('base','stats',stats);
0022 end
0023 
0024 simulhope_export(par,bs,mob,msg,stats,pref);
0025 disp(dispconsole('|','=','|'));
0026 disp(dispconsole('|','Simulations',':','finished','|'));
0027 disp(dispconsole('|','=','|'));
0028 clear all;

Generated on Sun 15-Aug-2004 22:13:10 by m2html © 2003