ConvertFortranFormatToC:

Path: Common/General

% Convert Fortran formats to C. Specifically A, I, D, E, F are converted.
--------------------------------------------------------------------------
   Form:
   [c, len, type] = ConvertFortranFormatToC( f )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   f               (1,:) String with FORTRAN formats
   fileName        (1,:) fileName

   -------
   Outputs
   -------
   c               {}     Cell array of formats
   len             (:)    Length of each element
   type            {:}    'string' or 'number'

--------------------------------------------------------------------------

Back to the Common Module page