Matlab Toolbox

181 views
Skip to first unread message

DougP

unread,
Jun 2, 2011, 12:53:34 PM6/2/11
to xbe...@googlegroups.com
Hi,

I am trying to use the matlab toolbox to run my existing XBeach models but I'm having some trouble.  I have all of my input files (params.txt, jonswap.txt, x.grd, y.grd and profile.dep) in the working directory, along with an executable (XBeach.exe).

I can create an XBeach structure using xbm = xb_read_input('params.txt'), which looks fine when I check it. But when I try to run the model using the executable I get and error saying XBeach.exe cannot be found.

To run the model I use xbr = xb_run(xbm, 'binary', 'XBeach.exe').  The .exe.name is correct so I don't know what is wrong.

Do I need to do anything else in order to run and existing XBeach model using the toolbox?

Thanks,

Doug
Reply all
Reply to author
Forward
0 new messages