File Exchange

image thumbnail

Display a text file

version 1.1.0.0 (1.91 KB) by Samuel Cheng
Display a text file in a popupmenu.

2 Downloads

Updated 11 Mar 2012

View Version History

View License

Display a text file in a popupmenu

Usuage: popupmessage(filename,window_name)

E.g., popupmessage('popupmessage.m','popupmessage.m');

Cite As

Samuel Cheng (2020). Display a text file (https://www.mathworks.com/matlabcentral/fileexchange/7396-display-a-text-file), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (6)

Job Chunkath

The function works but displays text in a single line. How to display multiple lines of the text in a box?

sourav biswas

Neal Tesney

Thanks! This is great. I've been waiting for years for Mathworks to come up with a separate scrolling window to send text to, but this is just as good.

James J. Cai

It will be better if I can copy and paste... anyway, thanks a lot.

Adel cadeem

what do u mean by name of window and name of file. i dont get it at alll.. i pasted the command into the mfile editor and it doesn work. help me

Ayal Anis

Cool thing!
Will use.

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: ChessPeace

Community Treasure Hunt

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

Start Hunting!