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

5 visualizzazioni (ultimi 30 giorni)
I want to take excel file from user by using open dialog box.How to take it??

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Data Import from MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by