numbering the entries in the listbox???

조회 수: 2 (최근 30일)
Jihad Chamseddine
Jihad Chamseddine 2014년 7월 14일
댓글: Geoff Hayes 2014년 7월 15일
hi , I just want to know if I can number the entries in the list box, for example when I add the first entry it will take number 1 and if I add a second entry it will take automatically number 2 and etc..... can that be done??
  댓글 수: 5
Jihad Chamseddine
Jihad Chamseddine 2014년 7월 14일
Actually I tried it but it didn't work, should I copy this code as it is to the listbox or the pusbutton? because I tried the 2 and it didn't work
Geoff Hayes
Geoff Hayes 2014년 7월 15일
The above is an example only. You would need to provide more context surrounding your GUI (i.e. relationship between the listbox and pushbutton) and/or some code that demonstrates why your code is not working.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by