Czy istnieje polecenie Matlaba, aby uzyskać liczbę zapisanych kolejek w pliku Excela?
to jest mój plik Excel:
to jest mój kod:
e = actxserver ("Excel.Application"); %# open Activex server
filename = fullfile(pwd,"example2.xlsx"); %# full path required
ewb = e.Workbooks.Open(filename); %# open the file
esh = ewb.ActiveSheet;
I próbowałem:
intCol = Range("IV1").End(xlLeft).Col;
Dziękuję Ci :]
Odpowiedzi:
2 dla odpowiedzi № 1Co powiesz na:
[num, txt, raw] = xlsread("example2.xlsx");
intCol = size(raw, 2);