matlab如何读取EXCEL中的字符?

高分请问一下,matlab如何读取EXCEL中的字符?
最新回答
对错何妨

2024-09-30 05:53:15

[num,txt,raw] = xlsread(filename) reads data from the first worksheet in the Microsoft Excel spreadsheet file named filename and returns the numeric data in array num. Optionally, returns the text fields in cell array txt, and the unprocessed data (numbers and text) in cell array raw.\x0d\x0a用xlsread\x0d\x0a返回的第一个参数是数字\x0d\x0a 第二个参数是字符\x0d\x0a 第三个是字符和数字在一起的cell