File Exchange

image thumbnail

Display a text file

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


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

MATLAB Online Live Editor Challenge

View the winning live scripts from faculty and students who participated in the recent challenge.

Learn more

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video