Slow execution uitable with many characters

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

dpb
dpb 2014년 4월 26일
That's an absurd size of data to try to display in a uitable -- section it down to something of manageable size. There's just no way it'll work responsively trying to display all the data at once (and no way to show more than 20 or so lines on the screen at a time, anyway).
john
john 2014년 4월 26일
Sorry,
a has size (20,1). But each line has aprox. 70 000 characters. I hope it is is better situation.
dpb
dpb 2014년 4월 26일
편집: dpb 2014년 4월 26일
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 2014년 4월 27일
how can I do it ?....window...?

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

 채택된 답변

Jan
Jan 2014년 4월 27일

2 개 추천

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.

추가 답변 (1개)

Roberto
Roberto 2014년 4월 27일
편집: Roberto 2014년 4월 27일

1 개 추천

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?

카테고리

도움말 센터File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

태그

질문:

2014년 4월 26일

답변:

Jan
2014년 4월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by