bugGNU Octave - Bugs: bug #45344, Strel function is not defined

 
 

bug #45344: Strel function is not defined

Submitter:  None
Submitted:  Wed 17 Jun 2015 06:50:55 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.6.2
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 25 Jul 2015 04:41:21 AM UTC, comment #3: 

No further information from reporter, closing as invalid.

Mike Miller <mtmiller>
Group Member
Wed 17 Jun 2015 08:02:53 PM UTC, comment #2: 

Did you load the image package? Remember you must load packages to use its functions. Packages are not loaded by default.

Did you not the following error message telling you to load the package?


warning: the 'strel' function belongs to the image package from Octave Forge
which you have installed but not loaded.  To load the package, run 'pkg
load image' from the Octave prompt.

Please read <http://www.octave.org/missing.html> to learn how you can
contribute missing functionality.
warning: called from
    __unimplemented__ at line 524 column 5
error: 'strel' undefined near line 1 column 1


Carnë Draug <carandraug>
Group Member
Wed 17 Jun 2015 07:56:07 PM UTC, comment #1: 

Changing the Category to Octave Forge Package.  It is the image package which implements strel, not core Octave.  Changing the Item Group to Matlab Compatibility since this function is defined in the Matlab image toolkit.

The release you are using, 3.6.2, is quote old and no longer supported.  You might try a more recent version of both Octave and the image package.  It appears that the strel class was added in 2013.

Rik <rik5>
Group administrator
Wed 17 Jun 2015 06:50:55 PM UTC, original submission:  

1. When I am using the strel function, it doesn't work and gives th error as
error: 'strel' undefined near line....

I have the image package installed. I am using it on Raspberry Pi(Raspbian).

2. When I am using the strel function in 3.6.4 and 4.0.0 on my Windows 8, then also it gives error.

The following is the error when I use 3.6.4 on Win 8

'strel' undefined near line....

The following is the error when I use 4.0.0 on Win 8

error: could not find any INDEX file in directory C:\Octave\Octave-4.0.0\share\octave\packages\image-2.4.0

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-07-25 mtmiller StatusNeed Info Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2015-06-17 rik5 Carbon-CopyRemoved 72865 -
    2015-06-17 carandraug StatusNone Need Info
    2015-06-17 rik5 CategoryLibraries Octave Package
        Item GroupOther Matlab Compatibility

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code