I have a mx3 matrix which is string format, I'm assigning this matrix by set(handles.listbox, 'String', matrix) into the listbox. How can I change space between the columns?
조회 수: 2 (최근 30일)
이전 댓글 표시
matrix= [m,3] %string
set(handles.listbox, 'String', matrix)
in the listbox I wanna put more space between the columns, is that possible?
댓글 수: 0
답변 (1개)
David Sanchez
2013년 5월 16일
It would be clearer if you gave some extended code. If you have string data, you can add some blank spaces using horzcat():
my_str = 'xxx';
my_str2 = horzcat(my_str,' ');
Use this recursively on your matrix string elements
참고 항목
카테고리
Help Center 및 File Exchange에서 Characters and Strings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!