How to change default message box when using xlsread(filename,-1)

조회 수: 2 (최근 30일)
adi kul
adi kul 2017년 6월 7일
댓글: adi kul 2017년 6월 7일
Hello All, I am using xlsread(filename,-1) in my code where my intent is to give user ability to select specific data on a excel sheet. Now I am using this 3 times and every time I want to give message to user on which columns to select in their spread sheet. But currently the default message box have message "Data Selection Dialo...".
I want to change it to something "Select Category".
So is there any way to customize the default data selection message box?
  댓글 수: 3
adi kul
adi kul 2017년 6월 7일
oh I see. I though we can overwrite the messages.
adi kul
adi kul 2017년 6월 7일
I am trying with this:
warndlg('Select Category');
Now what I am trying to achieve is to execute = xlsread(filename,-1) once user clicks "OK" on warning dialogue box.
Is that possible?

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

답변 (1개)

Image Analyst
Image Analyst 2017년 6월 7일
You could just read the whole thing in, and show it in a uitable grid/sheet control on your GUI, then build your own custom dialog box with GUIDE, or do something simpler with inputdlg(), to ask the user which rows, columns, or sheets they want.
  댓글 수: 1
adi kul
adi kul 2017년 6월 7일
I am trying with this:
warndlg('Select Category');
Now what I am trying to achieve is to execute = xlsread(filename,-1) once user clicks "OK" on warning dialogue box.
Is that possible?

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

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by