read_code

PURPOSE ^

LEE_CODE reads the code given by SVR_NL_C_ENCODER

SYNOPSIS ^

function code=read_code(fichero)

DESCRIPTION ^

 LEE_CODE reads the code given by SVR_NL_C_ENCODER
 and gives back the corresponding rope

 USE: code = read_code(folder)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % LEE_CODE reads the code given by SVR_NL_C_ENCODER
0002 % and gives back the corresponding rope
0003 %
0004 % USE: code = read_code(folder)
0005 
0006 function code=read_code(fichero)
0007 
0008    fid = fopen(fichero,'rb');
0009 
0010    code=fread(fid,6,'float32')';
0011    code=[code fread(fid,3*256,'schar')'];
0012    code=[code fread(fid,3,'float32')'];
0013    code=[code fread(fid,inf,'int16')'];
0014    fclose(fid);

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