www.pudn.com > WCDMA.rar > GoSimulation.m
%************************************************************************************
%
% Copyright 2002 The Mobile and Portable Radio Research Group
%
% Controls the processing for the Go Button in the simulation parameters menu
% The script checks for errors then executes the simulation
%***********************************************************************************
global FrameHandle
SimConfig.Iterations = str2num( get(FrameHandle,'String') );
if isempty(SimConfig.Iterations)
GenDialog('The Number of Frames field must have a numeric value!!');
return
end
if SimConfig.Iterations <= 0
GenDialog('The Number of Frames field must be positive!!');
set(FrameHandle,'String','1');
SimConfig.Iterations = 1;
return
end
close;
ErrorRun = DownlinkSimulator(SimConfig);
clear global