バージョン (1.9 KB) 作成者: Steve Hoelzer
Annoy and confound fellow MATLAB users.

ダウンロード 340 件

更新 2011/3/31


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.


Steve Hoelzer (2022). Annoy-a-tron (, MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2010a
Windows macOS Linux
タグ タグの追加

Community Treasure Hunt

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

Start Hunting!