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 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
matrix= [m,3] %string
set(handles.listbox, 'String', matrix)
in the listbox I wanna put more space between the columns, is that possible?
0 commentaires
Réponses (1)
David Sanchez
le 16 Mai 2013
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
Voir également
Catégories
En savoir plus sur Data Type Conversion dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!