Skip to content

Commit 9f11db3

Browse files
committed
RF: Check for nargout.
1 parent 63b2a0f commit 9f11db3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pymatbridge/matlab/util/pymat_feval.m

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@
3030
else
3131
arguments = '';
3232
end
33-
34-
response.result = run_dot_m(func_path, arguments);
33+
34+
[resp{1:nargout}] = run_dot_m(func_path, arguments);
35+
response.result = resp;
3536
response.success = 'true';
3637
response.message = 'Successfully completed request';
3738

0 commit comments

Comments
 (0)