help-octave
[Top][All Lists]
Advanced

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

Re: function still 'missing' even after package installation


From: Bob Walton
Subject: Re: function still 'missing' even after package installation
Date: Thu, 1 Nov 2012 06:55:21 -0700 (PDT)


mrpurple wrote
> ...
> I got 
> warning: the `fminsearch' function is not yet implemented in Octave
> 
> Please read `http://www.octave.org/missing.html' to learn how you can
> contribute missing functionality.
> So I did
> pkg install -forge optim
> and got
> warning: gen_doc_cache: unusable help text found in file 'test_d2_min_1'
> ...
> I dont even know where to start looking.

You're probably using the MinGW implementation of Octave on Windows.  The
optim package doesn't seem to install on that platform.  I solved the
problem by downloading the optim-1.2.1.tar.gz file from SourceForge, opening
it in WinZip or equivalent, and copying fminsearch.m, fmins.m and nmsmax.m
to ...\Octave3.6.2_gcc4.6.2\share\octave\3.6.2\m\optimization (or anywhere
else on your Octave path).  Then it (fminsearch, that is, not the rest of
the optim toolbox) works.  Another alternative would be to install the MinGW
binary of all the packages -- but I think that is an
all-the-packages-or-none thing, and one probably doesn't actually want that.
-- 
Bob Walton




--
View this message in context: 
http://octave.1599824.n4.nabble.com/function-still-missing-even-after-package-installation-tp4645940p4645979.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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