[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #59265] Partial assignment of outputs for some
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #59265] Partial assignment of outputs for some error conditions |
Date: |
Tue, 13 Oct 2020 23:47:07 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
Follow-up Comment #1, bug #59265 (project octave):
What happens for MEX functions in Matlab, where I think there is no way to
declare to Matlab the maximum number of outputs that may be produced?
I do agree that we could add this info to the DEFUN declarations for functions
that produce a maximum number of output values.
Also, we could declare the types of arguments that the built-in functions can
handle so they can be dispatched the same way as class methods. I started
working on that at one point, but did not make progress on actually tagging
the functions. See, for example the DEFUNs for svd, disp, fdisp, and display.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59265>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/