Embed a text editor into a gui

As far as I know the text edit component of uicontrol only deals with strings. I would like to embed a text editor similar to that of the m-code editor into a gui. The data from the text editor I would then like to save as a .m file.

답변 (2개)

Walter Roberson
Walter Roberson 2011년 11월 30일

0 개 추천

Are you going to want to underline words in color and everything? If so then you will either have to work at the JAVA level or else you will have to create an axes and draw everything on that. With selection and cut and paste and so on, either way sounds like a lot of work.
Thomas
Thomas 2011년 12월 1일

0 개 추천

I am strictly looking for the most simplistic of text editing capabilities. I would like cut and paste and multiple lines. I do not need any sort text mark up. Could you suggest a source on programming at the JAVA level for Matlab?

카테고리

도움말 센터File Exchange에서 Desktop에 대해 자세히 알아보기

질문:

2011년 11월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by