bugGNU Octave - Bugs: bug #56065, New function "contains"


bug #56065: New function "contains"

Submitted by:  Marc Dirix <dirixmjm>
Submitted on:  Wed 03 Apr 2019 11:16:21 AM UTC  
Category:  Octave Function Severity:  1 - Wish
Priority:  3 - Low Item Group:  Feature Request
Status:  Patch Submitted Assigned to:  None
Originator Name:  contains Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 03 Apr 2019 01:25:36 PM UTC, comment #1:

Thank you a lot for your contribution.  I lowered the priority as it is a new function and might be included in the development version once your patch is ready.

To increase your chances to add your implementation to Octave, please take a look at those various examples in


and add your copyright and the GPL text, some appropriate documentation, and test cases according to the Matlab documentation. But please not copy&past from Matlab because of copyright violations.

Kai Torben Ohlhus <siko1056>
Project Member
Wed 03 Apr 2019 11:16:21 AM UTC, original submission:

I have implemented an initial version of the contains function which is missing from Matlab.

Marc Dirix <dirixmjm>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #46709:  contains.m added by dirixmjm (912B - text/plain)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by siko1056 (Posted a comment)
  • -email is unavailable- added by dirixmjm (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-04-03 mtmiller Severity2 - Minor => 1 - Wish
    2019-04-03 rik5 Carbon-CopyRemoved 72865 => -
    2019-04-03 rik5 Item GroupMatlab Compatibility => Feature Request
    2019-04-03 siko1056 Severity3 - Normal => 2 - Minor
        Priority5 - Normal => 3 - Low
        StatusNone => Patch Submitted
        Release5.1.0 => dev
        Summarymatlab function "contains" missing => New function "contains"
    2019-04-03 dirixmjm Attached File- => Added contains.m, #46709

    Back to the top

    Powered by Savane 3.4