octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #46667] xlsread + OCT interface gives error fo


From: anonymous
Subject: [Octave-bug-tracker] [bug #46667] xlsread + OCT interface gives error for xlsx file (io 2.2.11)
Date: Fri, 11 Dec 2015 12:13:03 +0000
User-agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)

URL:
  <http://savannah.gnu.org/bugs/?46667>

                 Summary: xlsread + OCT interface gives error for xlsx file
(io 2.2.11)
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Fri Dec 11 12:13:02 2015
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

trying to xlsread ordinary 3D-tabel in attached file 'qplx2' on sheet 'ark1'
gives this in command window:


snip ******
Checking requested interface(s):
OCT*; (* = default interface)
warning: fopen: 'C:/Users/bbjn/Documents/Octave\qplx2.xlsx' found by searching
load path

file qplx2.xlsx couldn't be unpacked. Is it the proper file format?
warning: __OCT_spsh_open__: some elements in list of return values are
undefined
warning: xlsopen.m: file type not supported by OCT
error: File ptr struct expected for arg @ 1
>>


Relevant code is:

 chk_spreadsheet_support == 0   # default OCT interface
 # fil=strcat(filnavn,".csv");
 fil=strcat(filnavn,'.xlsx');
 [Data,Label] =xlsread(fil,arknavn,[],"OCT");


***** end of snip

Similar use in earlier octave versions using Java interface functioned fine
for xls files...



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri Dec 11 12:13:02 2015  Name: qplx2.xlsx  Size: 9kB   By: None

<http://savannah.gnu.org/bugs/download.php?file_id=35697>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46667>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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