필터 지우기
필터 지우기

How do I load an array of data from excel into my GUI?

조회 수: 1 (최근 30일)
Nitin Samuel
Nitin Samuel 2012년 12월 17일
I have made a GUI which uses manually entered values in edit boxes to run .As there are many values to be entered, it is tedious. So, I need an option (probably a pushbutton) which when clicked, asks the filename and location of the excel file and loads data from it.The GUI uses this data to run.How do I go about doing this?

채택된 답변

Jan
Jan 2012년 12월 17일
  • Create a button, whose callback...
  • ...opens a window to choose a file by uigetfile.
  • Then run xlsread to import the contents.
An alternative could be a uitable or inputdlg.

추가 답변 (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