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

1 view (last 30 days)
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!

Answers (1)

Dishant Arora
Dishant Arora on 14 Apr 2014
doc uigetfile
doc xlsread
doc importdata


Find more on Get Started with 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!

Translated by