Hello, I am following the tutorial video example provided, and I am doing everything exactly as per the video. However, I am getting the following error:
Subscripted assignment dimension mismatch.
Error in gauges_read (line 56)
w(j,:) = C{3}(1+(j-1):gauges_num:end);
Error in run (line 91)
evalin('caller', strcat(script, ';'));
Any help?
Great , I got it to work thanks ! I had a couple of other unrelated questions. Could you run me through how to create my own bathymetry? I am trying to repliclate a lab experiment, with uniform water depth and a step in the water.
Also, does Celeris allow for reflective boundary conditions?
Which version of Celeris do you have? I just checked the latest published version (v1.3.1) and the CML file for the tutorial case has 5 gauges, while the MATLAB code expects 4. If this is not the case for you, then please download the latest version from our website and try again, if it is the case, please remove gauge (178, 152) from the CML file. The CML <gauges> element should like this after the edit:
<gauges filename = "gauges">
116,152,
126,152,
177,152,
152,126
</gauges>
Hello Sasan, I believe they are both the same ,i.e 4. Still no success in running the MATLAB script and obtaining the graphs
Hello,
Make sure the number of guages in the cml file and the matlab file are the same.