%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% .m script of web demo "SC-LDPC Codes" 
% Written for GNU Octave
% 
% INSTITUTE OF TELECOMMUNICATIONS  
% University of Stuttgart 
% www.inue.uni-stuttgart.de 
% author: Sebastian Cammerer   
% date: 24.02.2016
%
% Note that source codes pertaining the Institute's current
% research collaborations are (in most cases) not public.
%
% For enquiries, you may contact:
% Sebastian Cammerer            : sebastian.cammerer@inue.uni-stuttgart.de
% Prof. Stephan ten Brink	: tenbrink@inue.uni-stuttgart.de  
%    
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

function demo_ber_fun2(...
         v,...                               
	 c,... 
         N,...
         nbCws,...
         SNR_start,...
         simTime,...
         nbSNR,...
         eb_no,...
	 show_fer,...
	 maxIter,...
	 channel_model,...
	 plot_cap,...
	 use_uf,...
	 plot_bpsk,...
	 uploadfile1,...
         filename...               
         )

       addpath(genpath("./sourcecode/"));

       ber_sim2(v, c, N, nbCws, SNR_start, simTime, nbSNR, eb_no, show_fer, maxIter, channel_model, plot_cap, use_uf,plot_bpsk, uploadfile1, filename);

end