Commit 88b67628 authored by Jameson Rollins's avatar Jameson Rollins

attempt to fix issue with matlab engine extraction

parent 87859500
Pipeline #180857 passed with stages
in 5 minutes and 22 seconds
......@@ -90,7 +90,7 @@ class Matlab:
assert len(wvars) > 0
with tempfile.NamedTemporaryFile(suffix='.mat') as f:
MATLAB_ENGINE.save(f.name, *wvars, nargout=0)
data = scipy.io.loadmat(f, squeeze_me=True, struct_as_record=False)
data = scipy.io.loadmat(f.name, squeeze_me=True, struct_as_record=False)
if len(wvars) == 1:
return data[wvars[0]]
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment