필터 지우기
필터 지우기

How to create a GUI?

조회 수: 11 (최근 30일)
Daniele Morello
Daniele Morello 2015년 9월 1일
댓글: Image Analyst 2015년 9월 1일
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
Daniele Morello
Daniele Morello 2015년 9월 1일
편집: Daniele Morello 2015년 9월 1일
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 2015년 9월 1일
편집: shannon stoffel 2015년 9월 1일
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.

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
Image Analyst 2015년 9월 1일
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
Image Analyst
Image Analyst 2015년 9월 1일
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by