필터 지우기
필터 지우기

When I import excel data...

조회 수: 1 (최근 30일)
JIN-HWA JEONG
JIN-HWA JEONG 2016년 5월 2일
편집: Azzi Abdelmalek 2016년 5월 2일
This codes are possible.
----------------
a=xlsread('1')
b=xlsread('2')
c=xlsread('3')
----------------
When I used codes, in workspace
appeared numeric shape of a,b,c.
But when I try this code
----------------
xlsread('i')
for i = 1: 5
end
----------------
Error using xlsread (line 129) XLSREAD unable to open file 'i'. File 'i' not found.
Error in pleaseeeeee (line 1) xlsread('i')
What is wrong?

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2016년 5월 2일
편집: Azzi Abdelmalek 2016년 5월 2일
for k=1:3
a{k}=xlsread(sprintf('%d',k));
end
a{1}
a{2}
a{3}

카테고리

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