The invention provides a method for
coupling an
MATLAB platform and an HEC-HMS model, and belongs to the field of hydrological forecasting, and the method comprises the steps: obtaining hydrometeorological data such as a rainfall process and a runoff process of session flood, writing the obtained data into HEC-DSSVue
software, and constructing a
database of the HEC-HMS model; preparing a
drainage basin file, a model operation file and a meteorological file required for the operation of the HEC-HMS model; compiling a running script of the HEC-HMS model, and setting the name of an
engineering project to be run and the flood session of the running; establishing an interface between the
MATLAB and the HEC-HMS model, and operating the HEC-HMS model on the
MATLAB platform; and establishing an interface of MATLAB and HEC-DSSVue
software, reading a calculation result of the HEC-HMS model, and outputting the calculation result in an EXCEL format. According to the method,
coupling of the HEC-HMS model and the MATLAB platform is achieved, by establishing interfaces of the MATLAB, the HEC-HMS model and the HEC-DSSVue model, limitation of the HEC-HMS model is broken through, calculation and
analysis tools of the HEC-HMS model are enriched, various algorithms and calculation tools on the MATLAB platform can be directly applied to the model, and the calculation capacity of the HEC-HMS model is remarkably improved.