I was trying to create a new code using fmincon to compare against the RM3_MCopt.m but I've run into a new error with nemoh. I believe the main problem is with running getnemoh.m with the parametric geo-mode. I tried running RM3_MCopt.m and RM3_debug.m with the parametric setting but the same error pops up. The scalar mode seems to work properly after testing it in RM3_debug.m though. Not sure if this is just on my end or not...?
I've included the error I keep getting below.
Error using movefile The process cannot access the file because it is being used by another process. Error in getNemoh/axiMesh (line 446) movefile(fnIn,... Error in getNemoh (line 139) axiMesh(r{ii},z{ii},ntheta,nfobj,zG(ii),ii); Error in RM3_getNemoh>RM3_parametric (line 112) [hydro] = getNemoh(r,z,w,rundir); Error in RM3_getNemoh (line 61) [hydro,rundir] = RM3_parametric(r1,r2,d1,d2); Error in RM3_getPow (line 68) [hydro,rundir] = RM3_getNemoh(geomMode,varargin{:}); Error in RM3_debug (line 19)
I was trying to create a new code using fmincon to compare against the RM3_MCopt.m but I've run into a new error with nemoh. I believe the main problem is with running getnemoh.m with the parametric geo-mode. I tried running RM3_MCopt.m and RM3_debug.m with the parametric setting but the same error pops up. The scalar mode seems to work properly after testing it in RM3_debug.m though. Not sure if this is just on my end or not...?
I've included the error I keep getting below.
Error using movefile The process cannot access the file because it is being used by another process. Error in getNemoh/axiMesh (line 446) movefile(fnIn,... Error in getNemoh (line 139) axiMesh(r{ii},z{ii},ntheta,nfobj,zG(ii),ii); Error in RM3_getNemoh>RM3_parametric (line 112) [hydro] = getNemoh(r,z,w,rundir); Error in RM3_getNemoh (line 61) [hydro,rundir] = RM3_parametric(r1,r2,d1,d2); Error in RM3_getPow (line 68) [hydro,rundir] = RM3_getNemoh(geomMode,varargin{:}); Error in RM3_debug (line 19)