NRGSymphonieRead
Note de l’éditeur : This file was selected as MATLAB Central Pick of the Week
NRGSYMPHONIEREAD imports NRG Systems Symphonie data files
NRGSymphonieRead imports the text files produced from NRG Symphonie data logger. NRGSymphonieRead requires the Statistics Toolbox.
usage: [site,data] = NRGSymphonieRead(FileName)
Inputs
FileName = name of file to import data from
Outputs
site = structure containing the site and channel meta data
data = dataset array containing the collected data
This function is designed to read the text file output of the NRG Systems Symphonie Data Retriever, which is a conversion utility that to generate text files from the raw binary files from the data logger. The MATLAB function assumes that the text file is structured with many lines of header information followed by a delimited table of data below. The header information is separated into sections based off of dividers in the text file such as ‘-----Logger Information-----‘. The header information is stored at a MATLAB structure. The data table is assumed to start with the string ‘Date & Time Stamp’. The data table is stored in MATLAB as a dataset array. Even thought certain assumptions were made creating the NRGSymphonieReader, the function should also be useful as an example for creating similar functions for other text files with a header and data table. An example data file, names exampledata.txt, is provided as reference for those unfamiliar with this file structure.
Citation pour cette source
Todd Schultz (2024). NRGSymphonieRead (https://www.mathworks.com/matlabcentral/fileexchange/28564-nrgsymphonieread), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.1.0.1 | Updated license |
||
1.1.0.0 | I improved the method used to detect active channels. |
||
1.0.0.0 |