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

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

[Octave-bug-tracker] [bug #43353] xlswrite in io-2.2.4 cannot add worksh


From: Malte Hinrichs
Subject: [Octave-bug-tracker] [bug #43353] xlswrite in io-2.2.4 cannot add worksheet NAME to file with worksheet NAMExyz
Date: Sat, 04 Oct 2014 00:07:21 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/600.1.17 (KHTML, like Gecko) Version/7.1 Safari/537.85.10

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

                 Summary: xlswrite in io-2.2.4 cannot add worksheet NAME to
file with worksheet NAMExyz
                 Project: GNU Octave
            Submitted by: maldje
            Submitted on: Sa 04 Okt 2014 00:07:20 GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Inaccurate Result
                  Status: None
             Assigned to: None
         Originator Name: Malte Hinrichs
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.0
        Operating System: Mac OS

    _______________________________________________________

Details:

The following gives the expected result:


xlswrite("file.xlsx",ones(3),"sheet","A1:C3","OCT")
xlswrite("file.xlsx",ones(3),"sheet0","A1:C3","OCT")


Reversing the order does not:


xlswrite("file2.xlsx",ones(3),"sheet0","A1:C3","OCT")
xlswrite("file2.xlsx",ones(3),"sheet","A1:C3","OCT")


This can be corrected by changing line 84 in private/__OCT_oct2xls__.m from


    wsh_number = strmatch (wsh, xls.sheets.sh_names);


to


    wsh_number = strmatch (wsh, xls.sheets.sh_names,'exact');







    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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