Am Donnerstag, den 22.03.2012, 13:39 -0700 schrieb PhilipNienhuis:
Juergen Rose wrote
Am Donnerstag, den 22.03.2012, 13:52 +0000 schrieb Richardson, Anthony:
-----Original Message-----
From: help-octave-bounces@ [mailto:help-octave-
address@hidden On Behalf Of Juergen Rose
Sent: Thursday, March 22, 2012 8:32 AM
To: help-octave@
Subject: leasqr(optim-1.0.16) fails with `cell2cell' undefined near
line 69
column 17
...
Any hint is deeply appreciated.
cell2cell is in the Octave forge "miscellaneous" package. I assume this
should have been detected as a dependency when the optim package was
installed. Try installing the "miscellaneous" package and rerun your
test.
Tony Richardson
...
Installed, sure.
But was miscellanous also *loaded* ?
In *Octave* do
pkg list
and check if there's an asterisk next to the miscellaneous entry like so:
mechanics | 1.2.0 | ...\share\octave\packages\mechanics-1.2.0
miscellaneous *| 1.0.11 |
...\share\octave\packages\miscellaneous-1.0.11
missing-functions | 1.0.2 |
...\share\octave\packages\missing-functions-1.0.2
If miscellaneous appears w/o asterisk, do
pkg load miscellaneous
The fact that you get no shadowing warning is telling us that probably the
miscellaneous pkg isn't loaded.
...
Hi Philip,
I checked this, as you can the from the following lines miscellaneous is
loaded, but nevertheless cell2cell is not found:
address@hidden:/home/rose/Txt/src/Test/Octave(16)$ octave
GNU Octave, version 3.6.1
...
octave:1> pkg list
Package Name | Version | Installation directory
---------------+---------+-----------------------
miscellaneous *| 1.0.11
| /usr/share/octave/packages/miscellaneous-1.0.11
optim *| 1.0.16 | /usr/share/octave/packages/optim-1.0.16
struct *| 1.0.9 | /usr/share/octave/packages/struct-1.0.9
zenity | 0.5.7 | /usr/share/octave/packages/zenity-0.5.7
octave:2> source leasqr_test_2.m
error: `cell2cell' undefined near line 69 column 17
error: called from:
error: /usr/share/octave/packages/optim-1.0.16/__dfdp__.m at line 69,
column 15
error: /usr/share/octave/packages/optim-1.0.16/dfdp.m at line 70,
column 7
error: at line -1, column -1
error: /usr/share/octave/packages/optim-1.0.16/__lm_svd__.m at line
176, column 9
error: /usr/share/octave/packages/optim-1.0.16/leasqr.m at line 583,
column 26
error: /home_wildcat/rose/Txt/src/Test/Octave/leasqr_test_2.m at line
22, column 20
octave:2>