フィルターのクリア

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

20 ビュー (過去 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?
Voss
Voss 2022 年 6 月 9 日
編集済み: Voss 2022 年 6 月 9 日
a = readtable(file, 'Sheet', 'Definitions', 'Range', 'C2:C2')

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by