[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: private function not found
From: |
Andreas Stahel |
Subject: |
Re: private function not found |
Date: |
Wed, 20 Jul 2016 18:57:51 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
On 07/20/2016 06:46 PM, Olaf Till wrote:
> On Wed, Jul 20, 2016 at 03:47:25PM +0000, Andreas Stahel wrote:
>> Dear user
>>
>> I am puzzled by a problem with the optim package. the reply of Octave to
>>
>> pkg load optim
>> demo lsqcurvefit
>>
>> is
>> ....
>> lsqcurvefit example 1: failed
>> '__nonlin_residmin__' undefined near line 83 column 20
>>
>> It seems that all functions in ~/octave/forge/optim-1.5.5/private
>> can not be found. This is on an Ubuntu 14.04 system with Octave 4.03.
>> On a sibling system the above works just fine!
>>
>> Can somebody give me a hint on how to tackle this puzzle?
>>
>> With best regards
>>
>> Andreas
>
> Maybe you have a copy of lsqcurvefit in your current directory? What
> does 'which lsqcurvefit' say, in the same Octave session which shows
> the problem?
>
> Anyway, you probably should not call it a problem with lsqcurvefit if
> private functions are not found ...
>
> Olaf
>
THANK YOU
Olaf
you are right on target. While playing around I copied nonlin_curvefit.m
into the current directory. Since this is called within lsqcurvefit() the
private functions were not found.
--
Andreas Stahel
Mathematics, BFH-TI E-Mail: address@hidden
Quellgasse 21 HuCE, Institute for Human Centered Engineering
CH-2501 Biel WWW: https://staff.ti.bfh.ch/sha1/
Switzerland Phone: ++41 +32 32 16 258