[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #40984] MEX function should be able to return
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #40984] MEX function should be able to return status as output |
Date: |
Sat, 28 Dec 2013 19:47:35 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 |
Update of bug #40984 (project octave):
Status: None => Patch Submitted
_______________________________________________________
Follow-up Comment #1:
When you call mex without a return argument, and without a trailing ';', is
the status returned in Matlab?
If not, I think the patch needs to be amended to something like
[~, retval] = mkoctfile ...
if (nargout > 0)
status = retval;
endif
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40984>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/