Binary reader for PZFlex .flxhst input files (Scripts) Publisher's description
This code runs through the data array twice, initially to parse the FORTRAN records to ensure the integrity of the data, and then to read in the data
This code runs through the data array twice, initially to parse the FORTRAN records to ensure the integrity of the data, and then to read in the data. The function automatically determines the difference between 32-bit and 64-bit data. Additionally, calling the function without an input argument will open a dialogue box which prompts the user to select a file.
The header structure contains general information about the file as well as the time record header information. The dataheader structure contains the specific information about each data record. The Times array is an (n x 1) element array where the n is the number of time steps and the Data array is an (n x m) array where m is the number of data records.
Known Issues: The output array Data will always be a double precision array as the preallocation is not varied depending on the bit resolution of the file. Although this doubles the memory usage for the variable uneccesarily it is considered that this is unlikely to present a problem, while using an if statement could negatively impact the speed of the code.
Tested with PZFlex build 2.4-2011-02-24-1 64-bit Linux
System Requirements:MATLAB 7.13 (2011b)
Program Release Status: New Release
Program Install Support: Install and Uninstall