Skip to content

Commit 650939a

Browse files
author
bpinsard
committed
fixed matlab command wrapping doc
1 parent e4d2f53 commit 650939a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/devel/matlab_interface_devel.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ code template, and define approriate inputs and outputs.
4040
# as a commandline argument to the matlab executable (without creating any files).
4141
# This, however, is less reliable and harder to debug (code will be reduced to
4242
# a single line and stripped of any comments).
43-
result = MatlabCommand(script=script, mfile=True)
43+
mlab = MatlabCommand(script=script, mfile=True)
44+
result = mlab.run()
4445
return result.runtime
4546

4647
def _list_outputs(self):

0 commit comments

Comments
 (0)