File Exchange

image thumbnail

Display a text file

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

1 Download

Updated 11 Mar 2012

View License

Display a text file in a popupmenu

Usuage: popupmessage(filename,window_name)

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

Comments and Ratings (4)

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.


Remove a bug that opening empty file would lead to error.

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

Inspired: ChessPeace

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.

Learn About Live Editor