File Exchange

image thumbnail


version 1.0 (1.95 MB) by

Prints a random, sometimes funny fortune at the command line



View License

This is my implementation of the popular Unix/Linux program Fortune in MATLAB. To install it, simply unzip the file archive to a folder, and run "initial.m", this will create the MAT-files containing the fortunes. After that type "fortune" at the command line for a random clean fortune, use the "off" flags for an offensive fortune, and read the readme or header of the file for more information.

Comments and Ratings (2)


Doesnt work.
Error using load
Unable to read file 'clean_fortunes.mat': no such file or directory.

Error in fortune (line 62)

And indeed there is no such file.

Tom Howe

MATLAB Release
MATLAB 7.0.1 (R14SP1)

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

» Watch video

Win prizes and improve your MATLAB skills

Play today