help-octave
[Top][All Lists]
Advanced

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

slow code, optimisation advice needed


From: tomkut
Subject: slow code, optimisation advice needed
Date: Fri, 25 May 2018 07:13:48 -0700 (MST)

Dear Octavers

Would anyone be so kind and offer advice on speeding up the below (the loop
takes a long time)?
a = fileread ("C:/Backup/Thermo Backups/2018-05-17.txt"); 
d = strsplit (a, "\n");
for i = 1 : length(d) 
 e (i , :) = strsplit ( d{i} );
endfor 




--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html



reply via email to

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