help-octave
[Top][All Lists]
Advanced

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

Re: xlsx processing


From: mrodrig
Subject: Re: xlsx processing
Date: Mon, 16 Mar 2020 07:10:11 -0500 (CDT)

I have worked a little more and I found this way to do it but I do not know
if it is the best
data.xlsx <https://octave.1599824.n4.nabble.com/file/t372706/data.xlsx>  
clc 
clear all
pkg load io

[data_v, title_v]=xlsread("data.xlsx");
[rows, columns] = size(data_v)
rows
columns
for i=1:columns
    v=data_v(5:326,i);
    FileName=sprintf("%s.txt",[title_v{1,i}, "_", title_v{2,i},
"_",title_v{3,i}])
    save (sprintf (FileName, i), "v")
    i=i+1;
end




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



reply via email to

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