Borrar filtros
Borrar filtros

numbering the entries in the listbox???

1 visualización (últimos 30 días)
Jihad Chamseddine
Jihad Chamseddine el 14 de Jul. de 2014
Comentada: Geoff Hayes el 15 de Jul. de 2014
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 comentarios
Jihad Chamseddine
Jihad Chamseddine el 14 de Jul. de 2014
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 el 15 de Jul. de 2014
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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by