how to find certain values in cells ?

조회 수: 1 (최근 30일)
Leonardo Wayne
Leonardo Wayne 2016년 4월 18일
댓글: Ghost 2016년 4월 20일
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에서 Environment and Settings에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by