Filter löschen
Filter löschen

How to create a GUI?

11 Ansichten (letzte 30 Tage)
Daniele Morello
Daniele Morello am 1 Sep. 2015
Kommentiert: Image Analyst am 1 Sep. 2015
hello everyone, i need your help. I have to create a GUI that reads data from excel. I need to: -show those data into GUI window; -edit those data from GUI window (not in excel), and save those modifications; -plot some of columns into a graphic.
  3 Kommentare
Daniele Morello
Daniele Morello am 1 Sep. 2015
Bearbeitet: Daniele Morello am 1 Sep. 2015
i do apologize, i'm searching for some topic on internet, but i can't understand well. my problem is: i have an excel file called "main.xls" and i would show the same content into an uitable in GUI. i need someone that explain me how to do, step by step (only) the code that i need.
shannon stoffel
shannon stoffel am 1 Sep. 2015
Bearbeitet: shannon stoffel am 1 Sep. 2015
I was new to GUI about a week ago. It might be helpful to break it up. The first thing you need to do is open the excel sheet. Look that up first. Just google how to open .xls in matlab. OR there are a lot of videos for beginners for GUI. Maybe watch one first. Matlab Answers is more for specific questions about a type of code that cannot be googled.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Image Analyst
Image Analyst am 1 Sep. 2015
Description: This GUI will help the novice user get up to speed very quickly on using GUI-based applications. Everything is laid out in a very simple Step 1, Step 2, Step 3, etc. layout. It is a very good starting point for a typical image analysis application. This application uses GUIDE to do the user interface design, and has most of the basic controls such as buttons, listboxes, checkboxes, radio buttons, scrollbars, etc. It allows the user to select a folder of images, select one or more images and display them, to select a series of options, and to individually or batch process one or more images. The user can......
It uses xlswrite() but you can just change it to use xlsread() if you want to.
  1 Kommentar
Image Analyst
Image Analyst am 1 Sep. 2015
Basically you do something like this to send your Excel data to a grid control on your GUI that you made with GUIDE:
myData = xlsread(fullFileName);
set(handles.uitable1, 'Data', myData);
It can get a little more complicated but if you have just a simple 2D table of numbers in Excel, and a grid control on your GUI with a "tag" property of uitable1 (in other words, the ID/name of the control is uitable1), then this should work.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by