Hi Solomon,
Many thanks for your response. I tried to use the function you sent me with no success. I am also using HEC-RAS 4.1. Can you post your main Matlab function that is calling the routine “run_ras.m”? I guess I am having a mistake there. Do you have also a Matlab function that runs HEC-RAS and extracts some data?
Many thanks for your help!
Art