-
Notifications
You must be signed in to change notification settings - Fork 46
Description
For WEC-Sim, we are using MoorDyn dynamic link libraries to call MoorDyn and return the results to the WEC-Sim simulation. The dynamic link libraries are built using cmake via GitHub actions and build with no issues. We have this running well locally, but the MoorDyn DLLs seem to cause GitHub actions to fail by crashing MATLAB. See the latest test on our dev branch of WEC-Sim Applications. If I rerun this a few times, it will pass, but it is still frustrating to have to rerun it all the time.
I think the MATLAB crash may be caused by a window that MoorDyn tries to open. In MATLAB locally, the window shows up like below, but I think it may be trying to display some sort of graphic? While running the simulation locally does not crash MATLAB, closing this window does crash MATLAB. Do you know what may be causing this window to be opened? And if so, is there a way to disable it?
--Thanks,
Jeff