MATLAB: Import dat from excel to matlab excelimport I have excel file, i want to impor from excel to matlab and save as a matrix MON=[ 14 15 28;29 34 25; 15 18 20] Thanks Best Answer Hi,a hint:doc xlsreadTitus Related SolutionsMATLAB: Import multiple .dat files Set dbstop if errorand inspect the values of the variables at line 15 MATLAB: Importing Data from Excel d=dir('*.xlsx'); % return directory list of all Excel filesx=[];for i=1:length(d) x=[x;xlsread(d(i).name,'B:B');end Related QuestionImporting dates into excelImporting data from excel
Best Answer