[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #43354] xlsopen: Adding several worksheets to
From: |
Malte Hinrichs |
Subject: |
[Octave-bug-tracker] [bug #43354] xlsopen: Adding several worksheets to empty file creates corrupted xlsx-file (io-2.2.4) |
Date: |
Sat, 04 Oct 2014 00:23:41 +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/?43354>
Summary: xlsopen: Adding several worksheets to empty file
creates corrupted xlsx-file (io-2.2.4)
Project: GNU Octave
Submitted by: maldje
Submitted on: Sa 04 Okt 2014 00:23:40 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 creates a corrupted file:
fid=xlsopen("file.xlsx", 1, "OCT");
[fid,stat] = oct2xls(1*ones(3),fid,"a")
[fid,stat] = oct2xls(2*ones(3),fid,"b")
[fid,stat] = oct2xls(3*ones(3),fid,"c")
fid=xlsclose(fid)
A simple workaround consist in first creating the file and than adding more
worksheets:
xlswrite("file.xlsx",1*ones(3),"a");
fid=xlsopen("file.xlsx", 1, "OCT");
[fid,stat] = oct2xls(2*ones(3),fid,"b")
[fid,stat] = oct2xls(3*ones(3),fid,"c")
fid=xlsclose(fid)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43354>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #43354] xlsopen: Adding several worksheets to empty file creates corrupted xlsx-file (io-2.2.4),
Malte Hinrichs <=
- [Octave-bug-tracker] [bug #43354] xlsopen: Adding several worksheets to empty file creates corrupted xlsx-file (io-2.2.4), Philip Nienhuis, 2014/10/04
- [Octave-bug-tracker] [bug #43354] xlsopen: Adding several worksheets to empty file creates corrupted xlsx-file (io-2.2.4), Malte Hinrichs, 2014/10/04
- [Octave-bug-tracker] [bug #43354] xlsopen: Adding several worksheets to empty file creates corrupted xlsx-file (io-2.2.4), Philip Nienhuis, 2014/10/04
- [Octave-bug-tracker] [bug #43354] xlsopen: Adding several worksheets to empty file creates corrupted xlsx-file (io-2.2.4), anonymous, 2014/10/07
- [Octave-bug-tracker] [bug #43354] xlsopen: Adding several worksheets to empty file creates corrupted xlsx-file (io-2.2.4), Philip Nienhuis, 2014/10/07
- [Octave-bug-tracker] [bug #43354] xlsopen: Adding several worksheets to empty file creates corrupted xlsx-file (io-2.2.4), Philip Nienhuis, 2014/10/08
- [Octave-bug-tracker] [bug #43354] xlsopen: Adding several worksheets to empty file creates corrupted xlsx-file (io-2.2.4), Malte Hinrichs, 2014/10/10
- [Octave-bug-tracker] [bug #43354] xlsopen: Adding several worksheets to empty file creates corrupted xlsx-file (io-2.2.4), Philip Nienhuis, 2014/10/13