例如:A=xlsread('D:\workspace\a.xlsx'),如果妳的文件在工作目錄裏面,直接A=xlsread('a.xlsx')
我的office是2010,excel的擴展名是。xlsx
然後再用simulink裏面的”from workspace“