how to find certain values in cells ?

1 次查看(过去 30 天)
see attached.
I am using xlsread to load data from an xls file into matlab as a cell. I would like to return all the cell values in the first column starting from row 15 until the first NaN into a variable called "List"(of type cell or integer preferably).

采纳的回答

Ghost
Ghost 2016-4-18
Define your sheet and xlrange something similar to this
for f = 1:end;
A(:,f) = ALL(:,f);
sheet = 1;
xlRange = 'A2';
xlswrite(Exel_filename,A,sheet,xlRange)
end
  3 个评论
Leonardo Wayne
Leonardo Wayne 2016-4-18
never mind that I have found a way around it :)
Ghost
Ghost 2016-4-20
Will be good if you can share how did you solve it.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by