Hey, i am trying to run the RM3 Moordyn from the example files. The wecSim runs until post-processing where i get the following error:
Error using responseClass/loadMoorDyn (line 372)
Incorrect use of '=' operator. Assign a value to a variable using '=' and compare values for equality using '=='.
Error in postProcessWecSim (line 148)
output.loadMoorDyn(mooring(iMoor).moorDynLines, mooring(iMoor).moorDynInputFile, iMoor, mooringLineCount);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in stopWecSim (line 29)
postProcessWecSim
^^^^^^^^^^^^^^^^^
Error in run (line 112)
evalin('caller', strcat(scriptStem, ';'));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in wecSim (line 55)
run('stopWecSim');
^^^^^^^^^^^^^^^^^
I also tried to run it withouth mooring(normal RM3) and this file runs fine, I have installed Moordyn like mentioned and I am not sure how to get the mooring forces in the lines i make, i get the same error in my own codes as well.
System:
windows 11
MATLAB 2024b
Hey, i am trying to run the RM3 Moordyn from the example files. The wecSim runs until post-processing where i get the following error:
Error using responseClass/loadMoorDyn (line 372)
Incorrect use of '=' operator. Assign a value to a variable using '=' and compare values for equality using '=='.
Error in postProcessWecSim (line 148)
output.loadMoorDyn(mooring(iMoor).moorDynLines, mooring(iMoor).moorDynInputFile, iMoor, mooringLineCount);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in stopWecSim (line 29)
postProcessWecSim
^^^^^^^^^^^^^^^^^
Error in run (line 112)
evalin('caller', strcat(scriptStem, ';'));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in wecSim (line 55)
run('stopWecSim');
^^^^^^^^^^^^^^^^^
I also tried to run it withouth mooring(normal RM3) and this file runs fine, I have installed Moordyn like mentioned and I am not sure how to get the mooring forces in the lines i make, i get the same error in my own codes as well.
System:
windows 11
MATLAB 2024b