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

조회 수: 16 (최근 30일)
Rohit Bhoi
Rohit Bhoi 2016년 2월 19일
답변: Walter Roberson 2016년 2월 19일
I want to take excel file from user by using open dialog box.How to take it??

채택된 답변

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by