plt2datf(FilePath)

HSPF to SWMM ascii time series
69 Downloads
Updated 20 May 2015

View License

This script changes the date format and tabulation of an HSPF ascii time series output file (plt). Midnight in the plt file is represented as 24:00 of the preceding day. SWMM and other programs use 0:00 of the following day to represent midnight. This script reads the plt file and writes a new ascii file, [name].dat, tabulated so that it can be imported by SWMM and can be opened with spreadsheet software. Enter the file path of an HSPF .plt output file as the single argument for this script. Header information will be stripped from the output file.

Cite As

Scott Miller (2024). plt2datf(FilePath) (https://www.mathworks.com/matlabcentral/fileexchange/50927-plt2datf-filepath), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0