Code covered by the BSD License  

Highlights from
Fortune

5.0

5.0 | 1 rating Rate this file 3 Downloads (last 30 days) File Size: 1.95 MB File ID: #8038

Fortune

by Robert M. Flight

 

14 Jul 2005 (Updated 18 Jul 2005)

Prints a random, sometimes funny fortune at the command line

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 7.0.1 (R14SP1)
Other requirements Has only been tested using Matlab 7.0 with SP2, but I see no reason it shouldn't work on any other.
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
02 Jun 2008 Tom Howe  
Please login to add a comment or rating.
Updates
18 Jul 2005

fixed inital.m to clear variable 'txtfil', keeps fortune from crashing during use.

Tag Activity for this File
Tag Applied By Date/Time
games Robert M. Flight 22 Oct 2008 07:53:30
linux fortune Robert M. Flight 22 Oct 2008 07:53:30
fortune cookie Robert M. Flight 22 Oct 2008 07:53:30
wisdom Robert M. Flight 22 Oct 2008 07:53:30
game Robert M. Flight 22 Oct 2008 07:53:30

Contact us at files@mathworks.com