File Exchange

image thumbnail

Fortune

version 1.0.0.0 (1.95 MB) by Robert M. Flight
Prints a random, sometimes funny fortune at the command line

1 Download

Updated 18 Jul 2005

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.

Cite As

Robert M. Flight (2021). Fortune (https://www.mathworks.com/matlabcentral/fileexchange/8038-fortune), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Bergercookie

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

Error in fortune (line 62)
load(filnam);

And indeed there is no such file.

Tom Howe

MATLAB Release Compatibility
Created with R14SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories

Community Treasure Hunt

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

Start Hunting!