matlab中的[num,txt,X]=xlsread(✀filename✀)函数的返回值都是什么意思?请高手指教

2024-12-28 23:49:12
推荐回答(1个)
回答1:

num返回xls中的数字,txt返回xls中的文本,其他的未处理的给x。
具体见help
XLSREAD Get data and text from a spreadsheet in an Excel workbook.
[NUMERIC,TXT,RAW]=XLSREAD(FILE) reads the data specified in the Excel
file, FILE. The numeric cells in FILE are returned in NUMERIC, the text
cells in FILE are returned in TXT, while the raw, unprocessed cell
content is returned in RAW.