octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57865] Builtin is not calling the built in ve


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #57865] Builtin is not calling the built in version
Date: Thu, 20 Feb 2020 03:59:50 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0

Update of bug #57865 (project octave):

                  Status:                    None => Confirmed              
                 Release:                   5.2.0 => dev                    
        Operating System:               GNU/Linux => Any                    

    _______________________________________________________

Follow-up Comment #1:

This is because "cast" is a built-in function in Matlab but is an .m file in
Octave. "zero" on the other hand is built-in in Matlab and in Octave.

Up until now, we didn't consider it a compatibility issue if functions are
built-in or not.

FWIW, the corresponding error message in Matlab is different:

>> which xlim
C:\Program Files\MATLAB\R2016a\toolbox\matlab\graph3d\xlim.m
>> type xlim

function xlim(varargin)

builtin('xlim', varargin{:});

end
>> xlim([0 1])
Error using builtin
Cannot find builtin function 'xlim'

Error in xlim (line 3)
builtin('xlim', varargin{:});


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57865>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]