Discussion:
Help Installing a Matlab Toolbox
John Merkel
2011-10-15 04:50:16 UTC
Permalink
Hello,

I'm a new user of Octave. I'm a teacher, and our school does not have
Matlab. I want to use Octave as an alternative. I am trying to install a
Matlab toolbox called DiscreteWaveletsToolbox, available here:

http://cam.mathlab.stthomas.edu/wavelets/packagesmatlab.php

It is free to use. I placed the file DiscreteWaveletsToolbox.zip in
C:\Octave\3.2.4_gcc-4.4.0\share\octave\packages, where all the other
packages are. I unzipped the file which created a directory tree there.
However, I could not use the functions from the package. I then tried the
"pkg install DiscreteWaveletsToolbox.zip" command, which gave me an error:

octave-3.2.4.exe:11> pkg install DiscreteWaveletsToolbox.zip
unpack: unarchiving program exited with status: 1
'unzip' is not recognized as an internal or external command,
operable program or batch file.

So, I guess my questions are, what do I need to do to install the toolbox?
Do I need to find some DOS version of an 'unzip' command? Is there another
way to install the toolbox?

Any help to get me started would be greatly appreciated.

Thanks,

John
Michael Goffioul
2011-10-15 07:39:03 UTC
Permalink
Post by John Merkel
Hello,
I'm a new user of Octave.  I'm a teacher, and our school does not have
Matlab.  I want to use Octave as an alternative.  I am trying to install a
http://cam.mathlab.stthomas.edu/wavelets/packagesmatlab.php
It is free to use.  I placed the file DiscreteWaveletsToolbox.zip in
C:\Octave\3.2.4_gcc-4.4.0\share\octave\packages, where all the other
packages are.  I unzipped the file which created a directory tree there.
However, I could not use the functions from the package.  I then tried the
octave-3.2.4.exe:11> pkg install DiscreteWaveletsToolbox.zip
unpack: unarchiving program exited with status: 1
'unzip' is not recognized as an internal or external command,
operable program or batch file.
So, I guess my questions are, what do I need to do to install the toolbox?
Do I need to find some DOS version of an 'unzip' command?  Is there another
way to install the toolbox?
Any help to get me started would be greatly appreciated.
The "pkg" command only works with package from the octave-forge repository
or packages conforming to the structure specified on the octave-forge pages.
This is most probably not the case for this package.

I think the install procedure is exactly the same as on Matlab (see the web page
you mentioned), but as there's no GUI, you'll have type the commands manually.
Something like:

addpath (genpath ("<where you unzipped the package">))

Michael.

Loading...