set_taxis

Function emptydia

  Create an empty dia.
  
  

CALL:

   S = emptydia(n)
  
  

INPUT:

   n: Number of blocks filled with default values, default value: 0.
  
  

OUTPUT:

   S: Dia Structure, with fields:
      +----IDT                  
      |    +----sFiltyp (char)  
      |    +----sSyscod (char)  
      |    +----lCredat (double)
      |    +----sCmtrgl (char)  
      +----blok                 
           +----W3H (struct): see emptyW3H
           +----MUX (struct): empty, see emptyMUX
           +----TYP (struct): empty  
           +----RGH (struct): empty, see emptyRGH
           +----RKS (struct): see emptyRKS    
           +----TPS (struct): empty, see emptyTPS    
           +----WRD (struct): see emptyWRD  
    
  

APPROACH:

   This function inializes the structure with the correct fields. Besides
   correct fields there are several other conditions a Dia structure must 
   satisfy.
  
  

EXAMPLE:

   S = emptydia(1)
   S.blok
S = 
     IDT: [1x1 struct]
    blok: [1x1 struct]
ans = 
    W3H: [1x1 struct]
    MUX: []
    TYP: []
    RGH: []
    RKS: [1x1 struct]
    TPS: []
    WRD: [1x1 struct]

See also:

readdia_R14
writedia_R14
emptyblok
emptyW3H
emptyWRD
emptyMUX
emptyTPS