function [] = 


dirRelat = 'C:\warter\Relatorio\';

MarcarAudio (password, 0.008, 0,fator,tempo);


%Arquivo de Saida
nomeRelat = strcat (dirRelat,'Password_ERRADOS.xls');
fid = fopen(nomeRelat,'a');
  
fprintf (fid,'Verificando Marca com Password Errado\n');
fprintf (fid,'Password Correto - %d\n\n',password);

for i=1:50
    password = floor ((10000*rand(1,1)));
    fprintf (fid,'Password ERRADO - %d\t\t\tFator = %.3f\t\t', password,fator);
    marcado = DetectarMarca (password, fator,tempo);
    for j=1:length (marcado)
        fprintf (fid,'%d\t',marcado(j));
    end
        fprintf (fid,'\n');
        disp (i);
end
        fprintf (fid,'\n\n');

fclose (fid);
