Annoy-a-tron

Annoy and confound fellow MATLAB users.
340 téléchargements
Mise à jour 31 mars 2011

Afficher la licence

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. www.thinkgeek.com

Citation pour cette source

Steve Hoelzer (2024). Annoy-a-tron (https://www.mathworks.com/matlabcentral/fileexchange/30925-annoy-a-tron), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2010a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Startup and Shutdown dans Help Center et MATLAB Answers
Tags Ajouter des tags

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0.0