Skip to content
Snippets Groups Projects
Commit 88b67628 authored by Jameson Rollins's avatar Jameson Rollins
Browse files

attempt to fix issue with matlab engine extraction

parent 87859500
No related branches found
No related tags found
No related merge requests found
Pipeline #180857 passed
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment