> On Apr 8, 2016, at 1:15 PM, Alexander Hansen <alexanderk.han...@gmail.com> 
> wrote:
> 
> 
>> On Apr 8, 2016, at 10:13, Ebrahim Mayat <ebma...@mac.com 
>> <mailto:ebma...@mac.com>> wrote:
>> 
>> Dear all
>> 
>> Having recently updated octave through fink on 10.11.4, I did some testing 
>> this week. It is very convenient that additional octave packages can be 
>> installed using the *-oct382 packages in fink (Nice work, Alexander Hansen 
>> :-))
>> 
>> I have come across a bug in octave that I thought may be reported upstream.
>> 
>> When trying to import a spreadsheet, I get the following error even though 
>> the io package is indeed installed:
>> 
>> octave:9> M1 = xlsread('Matrix.xls')
>> warning: Functions for spreadsheet style I/O (.xls .xlsx .sxc .ods .dbf .wk1
>> etc.)  are provided in the io package.  See <http://octave.sf.net/io/ 
>> <http://octave.sf.net/io/>>.
>> 
>> Please read <http://www.octave.org/missing.html 
>> <http://www.octave.org/missing.html>> to learn how you can
>> contribute missing functionality.
>> 
>> 
>> error: 'xlsread' undefined near line 1 column 6
>> 
>> 
>> octave:9> pkg list
>> Package Name  | Version | Installation directory
>> --------------+---------+-----------------------
>>      control  |   2.8.5 | /sw/share/octave/3.8.2/packages/control-2.8.5
>>      general  |   1.3.4 | /sw/share/octave/3.8.2/packages/general-1.3.4
>>           io  |   2.2.4 | /sw/share/octave/packages/io-2.2.4
>>       signal  |   1.3.0 | /sw/share/octave/3.8.2/packages/signal-1.3.0
>>      specfun  |   1.1.0 | /sw/share/octave/3.8.2/packages/specfun-1.1.0
>>   statistics  |   1.2.4 | /sw/share/octave/3.8.2/packages/statistics-1.2.4
>>       struct  |  1.0.10 | /sw/share/octave/3.8.2/packages/struct-1.0.10
>> 
>> The fink octave install is indeed built with java support:
>> 
>> octave:10> octave_config_info ("features").JAVA
>> ans =  1
>> 
>> 
>> Has anybody else also had or know of a similar problem ?
>> (BTW, the spreadsheet opens normally in Numbers)
>> 
>> Regards,
>> Ebrahim
>> 
>> ————
> 
> 
> "pkg load io”.  It’s installed but not loaded by default. 
> 
> -- 
> Alexander Hansen, Ph.D.
> Fink User Liaison

Good Day Alexander,

Thanks for your reply. Even after manually loading the package, I get this 
error:

 M1 = xlsread('Matrix1.xls')
Detected XLS interfaces: None.
warning: xlsopen.m: no support for spreadsheet I/O

warning: xlsread: some elements in list of return values are undefined
M1 = [](0x0)

I will send you the xls file off-list.

E


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to