필터 지우기
필터 지우기

How to read the designated position date in excel

조회 수: 1 (최근 30일)
chengxuan yu
chengxuan yu 2013년 6월 27일
Thanks in advance, any comment will be appreciated. I have an excel including some ruled datas. Everyone knows that a data in excel has a designated position,eg A1 or B2,and so on... I want to read the data in A1, but I know the data is empty in the first row of excel. How can I read it?

채택된 답변

David Sanchez
David Sanchez 2013년 6월 27일
% Read a specific range of data:
subsetA = xlsread('myExample.xls', 1, 'B2:C3')
type
help xlsread
or
doc xlsread
for more options.
  댓글 수: 2
chengxuan yu
chengxuan yu 2013년 6월 27일
편집: chengxuan yu 2013년 6월 27일
I know the meaning of 'B2:C3',but when the 'B2' row is empty,it read the data from 'B3:C3', which is not I want to get. I want to get all the number of 'B2:C3',even when the B2 arrow number is empty , It can use NaN to instead.
chengxuan yu
chengxuan yu 2013년 6월 27일
The program can work in maltab7.0, which can not work in matlab2013a. When the program read empty arrow in matlab2013a , it put out from next arrow. Did this is a version problem?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by