save_code

PURPOSE ^

GUARDA_CODE saves the code given by SVR_NL_C_ENCODER

SYNOPSIS ^

function save_code(ristra,fichero)

DESCRIPTION ^

 GUARDA_CODE saves the code given by SVR_NL_C_ENCODER


 save_code(ristra,fichero)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 
0002 % GUARDA_CODE saves the code given by SVR_NL_C_ENCODER
0003 %
0004 %
0005 % save_code(ristra,fichero)
0006 function save_code(ristra,fichero)
0007 
0008    fid = fopen(fichero,'wb');
0009    fwrite(fid,ristra(1:6),'float32');
0010    fwrite(fid,ristra(7:6+3*256),'schar');
0011    fwrite(fid,ristra(7+3*256:7+3*256+2),'float32');
0012    fwrite(fid,ristra(7+3*256+3:end),'int16');
0013    fclose(fid);

Generated on Fri 07-Mar-2014 13:29:20 by m2html © 2005