I've linked Matlab to SWMM. To read the outflow summary I 've applied "C = textscan(fid, '%s', 'delimiter', '\n');" to scan *.rpt file.
But in high function evaluation I have error as "the encoding windows-1256 is not supported. " which is related to this line. Could you help me to solve the problem.