I have a excel file which contains both number and txt, I wanna assign whole values in this excel file to the listbox

1 visualización (últimos 30 días)
for example,
first column of the excel file includes only txt second column of the excel file includes only num third column of the excel file includes only num
the excel file's size nx3
I wanna assign these nx3 into the list box with both txt and num.

Respuesta aceptada

Yao Li
Yao Li el 16 de Mayo de 2013
  1. Import data to Matlab by implementing xlsread()
  2. Create a cell variable and assign all the n*3 data to the cell variable
  3 comentarios
Yao Li
Yao Li el 16 de Mayo de 2013
Try
set(handles.listbox1,'String',{'1 2','3 4'});
I think you can find what you want from this example.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps 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