We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34516e5 commit 0354a53Copy full SHA for 0354a53
RATapi/utils/convert.py
@@ -549,9 +549,10 @@ def convert_parameters(
549
# scipy.io.savemat doesn't do cells properly:
550
# https://github.com/scipy/scipy/issues/3756
551
# rather than fiddling we just use matlab
552
- eng = wrappers.start_matlab().result()
+ eng = wrappers.start_matlab()
553
if eng is None:
554
raise ImportError("matlabengine is not installed.")
555
+ eng = eng.result()
556
eng.workspace["problem"] = r1
557
eng.save(str(filename), "problem", nargout=0)
558
eng.exit()
0 commit comments