好像还得自己编程序,没有现成的函数,不信你看,我在matlab搜索了全部excel的相关文件。
>> lookfor xls
XLSFINFO Determine if file contains Microsoft Excel spreadsheet.
XLSREAD Get data and text from a spreadsheet in an Excel workbook.
XLSWRITE Stores numeric array or cell array in Excel workbook.
BIFFREAD read biff vector from xls file
ftstool_xlsreaddlg.m: %XLSREADDLG returns parameters for xlsread entered in a dialog.
>> lookfor excel
XLSFINFO Determine if file contains Microsoft Excel spreadsheet.
XLSREAD Get data and text from a spreadsheet in an Excel workbook.
XLSWRITE Stores numeric array or cell array in Excel workbook.
MXLTOOL MATLAB Builder for Excel graphical user interface.
M2XDATE MATLAB Serial Date Number Form to Excel Serial Date Number Form.
X2MDATE Excel Serial Date Number Form to MATLAB Serial Date Number Form
EXCELPORTOPT Calculate the mean-variance efficient frontier.
COMPONENTINFO Registry and type information for MATLAB Excel Builder components.
xregExcel.m: %XREGEXCEL
XREGREADEXCEL Reads in an Excel file
cg_read_excel.m: %CG_READ_EXCEL
COM_EXCEL_APP - Get the COM MS Word application object
linktype_rmi_excel.m: % Requirement interface for MS Excel documents
>> ver
-------------------------------------------------------------------------------------
MATLAB Version 7.3.0.267 (R2006b)
温馨提示:答案为网友推荐,仅供参考