I need a help about loading data into MATLAB in case of using GUI!

1 次查看(过去 30 天)
Hi everybody! My problem is: i want to create a pushbutton on my GUI, when users press it, it will show the window for users to choose the path and select the file that they want to load (in my case the file is file.txt and file.xls). In addition, after loading the data, i want it is as a matrix. Thank you!

回答(1 个)

Dishant Arora
Dishant Arora 2014-4-14
doc uigetfile
doc xlsread
doc importdata

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by