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

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

[Octave-bug-tracker] [bug #47378] When we create a repetitive .xlsx file


From: anonymous
Subject: [Octave-bug-tracker] [bug #47378] When we create a repetitive .xlsx file we use all resource (memory?)
Date: Thu, 10 Mar 2016 17:22:49 +0000
User-agent: Mozilla/5.0 (Android 5.0.1; Mobile; rv:44.0) Gecko/44.0 Firefox/44.0

Follow-up Comment #3, bug #47378 (project octave):

His example showed up in email but not here. Reposted below.


clear
more off
for j=1:(2000)
        % extract file's name
        name=dec2hex(j);
        my_path=strcat(name,'.xlsx');
        % save data into file
        data=[j,j*2,j*3];
        xlswrite(my_path,data);
  j
end

and here the problem after some loops:
j =  397
j =  398
j =  399
j =  400
j =  401
j =  402
error: fprintf: invalid stream number = -1
error: called from
    __OCT_oct2xlsx__>__OCT_oct2xlsx_sh__ at line 353 column 3
    __OCT_oct2xlsx__ at line 125 column 16
    __OCT_oct2spsh__ at line 72 column 18
    oct2xls at line 181 column 18
    xlswrite at line 197 column 20
    Test at line 9 column 2



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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