how to read multiple sheets of excel file using readtablle command. The way we do using xlsread(fi​leName,'sh​eet1')

조회 수: 25 (최근 30일)
This is what I am trying to do using readtable instead of xlsread
[data,text] = xlsread(file,'Definitions'); a = readtable(file, 'Definitions')
Catchup this error
All parameters must have an associated value.

채택된 답변

Voss
Voss 2022년 6월 9일
% a = readtable(file, 'Definitions') % not this
a = readtable(file, 'Sheet', 'Definitions') % this
  댓글 수: 4
Aakriti Srivastava
Aakriti Srivastava 2022년 6월 9일
Hey Voss,
One more doubt the sheet named Definitions have numerical and text file and If I want to retrive element at 2nd row and 3rd coloumn. Would you tell me how to do that?

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

추가 답변 (0개)

카테고리

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

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by