VCFlatFile:

Path: Common/Interface

--------------------------------------------------------------------------
   Write a set of variables to a VC flat file (comma-separated with header).
   Assumes all variables have one dimension that matches the time vector,
   and it will tranpose all matrices as needed. The filename passed in should
   include the desired extension. The names of the input files are used in
   the header, so do not do a transpose of a variable in the call to this
   function, i.e.

      VCFlatFile( fileName, time, theta, r' )  %% this will cause an error!

   This file can be read into VC's default flat file reader. The matrices
   will automatically be reconstructed.

   The file lookes like:

      Time,theta,r,r,r
      0,0,1,0,0,
      1,0.1,0.995,0.1,0,
      ...

   This example can be produced with the built-in demo.

   Type VCFlatFile for a demo

   Since version 9.
--------------------------------------------------------------------------
   Form:
   VCFlatFile( fileName, time, varargin )
--------------------------------------------------------------------------

   -------
   Inputs:
   -------
   filename    (:)       Full filename of output file.
   time       (1,n)
   args       (p,n)

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

Back to the Common Module page