  fread
  Builtin Function



      SSyynnooppssiiss
        Binary stream input.

      SSyynnttaaxx
        fread ( _F_I_L_E_N_A_M_E, _N_I_T_E_M_S, _T_Y_P_E, _S_W_A_P_B )

      DDeessccrriippttiioonn
        fread reads _N_I_T_E_M_S of type _T_Y_P_E from _F_I_L_E_N_A_M_E (a string) and
        returns the result in a numeric matrix.

        Allowable arguments are:


        _N_I_T_E_M_S
           Number of objects of type _T_Y_P_E to read from _F_I_L_E_N_A_M_E. If
           _N_I_T_E_M_S is inf(), then fread will read from _F_I_L_E_N_A_M_E until
           end-of-file is reached.


        _T_Y_P_E

             "char"



             "unsigned char"



             "short int"



             "unsigned int"



             "int"



             "float"



             "double"



        _S_W_A_P_B

             0       Do not swap bytes in a word (default).



             1       Do swap the bytes in each word.





     SSeeee AAllssoo
        FILES, fseek, fwrite, close, open, write
































































