View License

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

» Watch video

Highlights from

Be the first to rate this file! 3 Downloads (last 30 days) File Size: 1.9 KB File ID: #30925 Version: 1.0
image thumbnail



Steve Hoelzer (view profile)


Annoy and confound fellow MATLAB users.

| Watch this File

File Information

Slowly drive MATLAB users insane by doing something annoying at random intervals. Customize to deploy your own personal brand of evil.

A few ideas:
  >> beep on, beep % make noise
  >> disp('Why?'), why % display nonsense
  >> disp(datestr(now)) % display date and time
  >> calendar % display calendar
  >> figure % open a figure
  >> fprintf('\n') % insert blank line
  >> fprintf('>') % growing prompt
  >> disp('<<') % reverse prompt
  >> disp('>>>') % triple prompt
  >> fprintf(2, '>>\n'); % prompt in error message color
  >> exit % exit Matlab (truly, truly evil)

To run this function automatically when Matlab starts, call annoyatron() from startup.m. See 'startup' in Matlab's help for more info.

Inspired by the Annoy-a-tron.

MATLAB release MATLAB 7.10 (R2010a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us