Slow execution uitable with many characters

1 vue (au cours des 30 derniers jours)
john
john le 26 Avr 2014
Réponse apportée : Jan le 27 Avr 2014
Hello,
a has size for example (20,70000). If I insert a into uitable in GUI, than moving slide up/down or right/left is executing so slowly.
How can I executet ot faster?
Thank you?
  4 commentaires
dpb
dpb le 26 Avr 2014
Modifié(e) : dpb le 26 Avr 2014
No, not really...same problem, you can't display more than 100 or so characters comfortably horizontally, either, and as you can see, the GUI just can't deal with the magnitude easily. You need a window into the file content for the display.
john
john le 27 Avr 2014
how can I do it ?....window...?

Connectez-vous pour commenter.

Réponse acceptée

Jan
Jan le 27 Avr 2014
This is not a job for an uitable. It is simply not meaningful to display such a huge pile of data in a user interface. It is like asking for a diagram with millions of X-values. Neither a monitor, nor the human eye can copy with this amount of data. Therefore uitable is not designed to contain such a pile of data.
Therefore I suggest not to try to accelerate the display, but to choose another method for a visualization.

Plus de réponses (1)

Roberto
Roberto le 27 Avr 2014
Modifié(e) : Roberto le 27 Avr 2014
Try cropping the string to lets say... 50 chars, and add 'More...' string indicating that there's more data. who reads 70 000 chars anyway?

Catégories

En savoir plus sur Dialog Boxes dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by