MATLAB: How to take input as excel file from user in matlab? data importexcelimportimporting excel data I want to take excel file from user by using open dialog box.How to take it?? Best Answer [filename, pathname] = uigetfile({'*.xls', '*.xlsx'}, 'Pick an excel file');fullname = fullfile(pathname, filename);[num, txt, raw] = xlsread(fullname); Related SolutionsMATLAB: How to input the image as input to the GUI. [filename, pathname] = uigetfile('*.png', 'Select an image?'); if ~ischar(filename); return; end %user cancelled filepath = fullfile(pathname, filename); Img = imread(filepath); MATLAB: How to call a column of data from excel into matlab yourdata = xlsread(your file name);then you can process ithelp meanhelp xlsreadhelp importfile Related QuestionConstant Data type in matlab?How to rename a sheet in Excel using the COM interface in MATLABXLSWRITE
Best Answer