src/GamIO/MatLabFile.cc
/* These functions will access/create a MATLAB file and write a data element
   from a GAMMA array.                                                       */
These functions will access/create a MATLAB file and write a data element
from a GAMMA array.
These functions will access / create a MATLAB file and write a data element from a GAMMA array .
int MATLAB(const std::string& fileout, const std::string& name,
                                            const matrix& mx, int rc, int warn) 
  {
  MatLabFile MLF(fileout,std::ios::binary|std::ios::out);	
  int TF = MLF.write(name, mx, rc, warn?1:0);	
  (MLF.fp).close();				
  return TF;
  }
int MATLAB ( const std :: string & fileout , const std :: string & name , const matrix & mx , int rc , int warn ) { MatLabFile MLF ( fileout , std :: ios :: binary | std :: ios :: out ) ; int TF = MLF . write ( name , mx , rc , warn ? 1 : 0 ) ; ( MLF . fp ) . close ( ) ; return TF ; }
These functions will access/create a MATLAB file and write a data element
from a GAMMA array.
These functions will access / create a MATLAB file and write a data element from a GAMMA array .
// Open a MATLAB File // Write matrix with set name // Close the file