You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This function carries out the following tasks:
1) Allows the user to select the first timestep of an SRH model output to convert, regardless of the SRH version used.
2) Automatically renames SRH files from SRH1, SRH2...SRH100 to a machine-friendly format: SRH001, SRH002...SRH100.
3) Parses each SRH output file into separate output files for the water elevation, depth, velocity magnitude, Froude number, and boundary shear stress.
4) Creates single time series of each parsed file which can be opened in SMS.
5) Saves the model outputs in .mat binary file so that the SRH model results can be read in and analyzed much faster than using the text files as input!
Note: The SRH model needs to be set up so that the outputs are NODE-CENTERED for the conversion to work properly.
Cite As
Jeff Tuhtan (2026). srh2sms (https://au.mathworks.com/matlabcentral/fileexchange/28310-srh2sms), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.2.0.0 (3.99 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.2.0.0 | - Fixed output file name bug |
||
| 1.1.0.0 | - Added automatic recognition of output data, regardless of the SRH version or model used.
|
||
| 1.0.0.0 |
