Read/Write table to files
Description
Nelson provides extensive capabilities for reading and writing tables to files, supporting both text-based and binary storage formats to meet different data management needs.
Text files (.csv, .txt, etc.):
writetable() exports tables to delimited text files with customizable separators
readtable() imports tables from delimited text files with automatic format detection
Text files preserve variable names and data in human-readable format
Binary file:
Nelson HDF5 format (.nh5):
Efficient binary storage using HDF5 format
Preserves all table metadata and data types
Use save -nh5 and load commands
Binary format is recommended for preserving exact numeric precision and working with large datasets.
Examples
Read/Write table to .nh5 file
Read/Write table to text file
See also
writetable, readtable, load, save.
History
1.10.0
initial version
Author
Allan CORNET
Last updated