how to take input as excel file from user in matlab??

6 views (last 30 days)
I want to take excel file from user by using open dialog box.How to take it??

Accepted Answer

Walter Roberson
Walter Roberson on 19 Feb 2016
[filename, pathname] = uigetfile({'*.xls', '*.xlsx'}, 'Pick an excel file');
fullname = fullfile(pathname, filename);
[num, txt, raw] = xlsread(fullname);

More Answers (0)

Categories

Find more on Data Import from MATLAB in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!