Hello XBEACH users,
I am finding difficulties with nesting SWAN to XBEACH. I want to use
the Energy Spectrum output from SWAN (.sp2 file) for the wave boundary
input in XBEACH.
I downloaded the Swan nesting matlab functions, and i wanted to use
the xb_swan_read.m function and read my .sp2 swan energy spectrum.
I get every time a matlab error : " Undefined function or
variable 't' ". in the section (case) NODATA in the
Is there another way of reading my spectrum file ? Is there
something i am doing wrong ?
I put the matlab function and my swan spectrum file attached with
Please Help me and thank you for your efforts.