MultiLine Edit Boxes - Appending to

I've just realised that you can have multiline text in an edit box by changing its Max property. I want to be able to use an edit box as a type of memo so I can keep track of some RS232 serial port send and receive strings.
The problem is that I only get a single line of text and it over writes everytime. Is there anyway to add to the edit box, but in an appending manner?
Thanks Jason

답변 (1개)

per isakson
per isakson 2015년 3월 24일
편집: per isakson 2015년 3월 24일

0 개 추천

"but in an appending manner" &nbsp No! (not before R2014b anyway)
There are two alternatives
  • Keep and modify the entire text in a cell array of strings in you code. Update the string property of the edit-box after each modification
  • get, modify, set of the entire text.

카테고리

도움말 센터File Exchange에서 Shifting and Sorting Matrices에 대해 자세히 알아보기

질문:

2015년 3월 24일

편집:

2015년 3월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by