Select wanted range xlsread

조회 수: 1 (최근 30일)
Christophe
Christophe 2011년 9월 14일
Hello,
Using xlsread(filename,-1), I am able to select and get the data of an excel file.
Is there a way to get the sheet name and the data range where I took the data ? I am using MATLAB 2007b.
Thank you very much in advance

답변 (1개)

Jan
Jan 2011년 9월 14일
Please read "doc xlsread" for your MATLAB version. In 2009a you'd find this:
6. Get data from a specified region in a named sheet:
NUMERIC = xlsread('c:\matlab\work\myspreadsheet','NBData','a2:j5')
  댓글 수: 1
Christophe
Christophe 2011년 9월 14일
Yes I know how to get the data.
I want to know how to get the data range and sheet name, when using the -1 parameter which opens an interactive Excel window for selecting data.

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

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by