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 中查找有关 Environment and Settings 的更多信息

提问:

2011-11-30

Community Treasure Hunt

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

Start Hunting!

Translated by