plt2datf(FilePath)

HSPF to SWMM ascii time series

You are now following this Submission

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 (2026). plt2datf(FilePath) (https://in.mathworks.com/matlabcentral/fileexchange/50927-plt2datf-filepath), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0