Code covered by the BSD License  

Highlights from
PIVMat 3.02

image thumbnail

PIVMat 3.02

by

 

27 Apr 2006 (Updated )

A PIV Post-processing and data analysis toolbox

getattribute (PIVMat Toolbox)
getattribute (PIVMat Toolbox)
PIVMat Function Reference<< Prev | Next >> 
getattribute
Get attribute of a field

Description
A = getattribute(F) returns a structure containing the attributes 
of the vector or scalar field F. If F is an array, then A is a cell array. 
F may be vector or scalar fields, or filenames of any file format 
supported by loadvec. Wildcards (*) and brackets ([]) may be used (see 
rdir for details). 
 
The field names of the structure A are given by the attribute names 
(leading '_' are removed from the attribute names). The attribute 
values are converted to numerical values whenever a numerical 
conversion is possible. 
 
VAL = getattribute(F, NAME) returns only the value of the specified 
attribute NAME.  NAME is not case sensitive, and '_' are ignored. 
 
To obtain the image acquisition time of F, see getpivtime. 
 
Examples
 
 
  Returns the times of all the vector fields of the current set: 
    time = getattribute('*.vec', 'time'); 
 
See Also
getpivtime, getvar. 
 
Published output in the Help browser 
   showdemo getattribute 

 Previous: flipfNext: getfilenum 

2005-2013 PIVMat Toolbox 3.02

Contact us