NRGSymphonieRead
편집자 메모: 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.
인용 양식
Todd Schultz (2024). NRGSymphonieRead (https://www.mathworks.com/matlabcentral/fileexchange/28564-nrgsymphonieread), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux카테고리
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!