[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: function still 'missing' even after package installation
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: function still 'missing' even after package installation |
Date: |
Wed, 31 Oct 2012 09:13:54 -0400 |
On 31 October 2012 09:08, Lukas Reichlin <address@hidden> wrote:
>
> On 31.10.2012, at 13:37, Jordi Gutiérrez Hermoso <address@hidden> wrote:
>
>> On 30 October 2012 23:15, mrpurple <address@hidden> wrote:
>>> So I did
>>> pkg install -forge optim
>>> and got
>>> warning: gen_doc_cache: unusable help text found in file 'test_d2_min_1'
>>> warning: gen_doc_cache: unusable help text found in file 'test_d2_min_2'
>>> warning: gen_doc_cache: unusable help text found in file 'test_d2_min_3'
>>> For information about changes from previous versions of the optim package,
>>> run 'news ("optim")'.
>>> Working off the assumption that I could carry on despite the warnings I
>>> tried running my work again and still got:
>>> error: `fminsearch' undefined near line 27 column 15
>>
>> Try "pkg load optim". Installed packages are no longer loaded by
>> default, in the interest of avoiding namespace pollution.
>
> You can try
>
> pkg rebuild -auto optim
>
> to load the optim package automatically at each start of octave.
But beware:
http://savannah.gnu.org/bugs/?37654
Another option is to add "pkg load optim" to your .octaverc
- Jordi G. H.