필터 지우기
필터 지우기

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

조회 수: 3 (최근 30일)
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.

채택된 답변

Yao Li
Yao Li 2013년 5월 16일
  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
Yao Li
Yao Li 2013년 5월 16일
Try
set(handles.listbox1,'String',{'1 2','3 4'});
I think you can find what you want from this example.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by