フィルターのクリア

importing an excel table with words

3 ビュー (過去 30 日間)
AA
AA 2015 年 10 月 9 日
編集済み: Nobel Mondal 2015 年 10 月 9 日
I got an excel table with text and numbers. The code below does not allow me to display the text properly in the matlab table. how can i import the file as cell array so words can be read as well?
fileToRead = fullfile('C:\Users\Untitled Spreadsheet.xlsx');
circa1 = xlsread(fileToRead);

採用された回答

Nobel Mondal
Nobel Mondal 2015 年 10 月 9 日
編集済み: Nobel Mondal 2015 年 10 月 9 日
'xlsread' returns 3 outputs -
[numOnly, textOnly, rawDataInCellArray] = xlsread(xlFile);
If you need the data in only cell array format, use the below style :
[~, ~, mydata] = xlsread(xlfile);
Please try 'help xlsread' to get more info.

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by