MHKiT-MATLAB provides the marine renewable energy (MRE) community tools for data processing, visualization, quality control, resource assessment, and device performance.
Attempting to run examples/environmental_contours_example.mlx results in the following error on line 35.
Unable to resolve the name 'py.mhkit.wave.resource.environmental_contour'.
Error in [environmental_contour](matlab:matlab.internal.language.introspective.errorDocCallback('environmental_contour', 'mhkit/wave/resource/environmental_contour.m', 91)) ([line 91](matlab: opentoline('mhkit/wave/resource/environmental_contour.m',91,0)))
data = py.mhkit.wave.resource.environmental_contour(py.numpy.array(x1),py.numpy.array(x2),...ttt
It appears that the call signature in MHKiT-Python for wave.contours.environmental_contours has changed significantly.
This code section handles the python call and contains the source of this bug.
Description:
Attempting to run
examples/environmental_contours_example.mlx
results in the following error on line 35.It appears that the call signature in MHKiT-Python for
wave.contours.environmental_contours
has changed significantly.This code section handles the python call and contains the source of this bug.