File Exchange

image thumbnail

LOL Chuck

version (27.6 KB) by Mark Tomaszewski
Display Chuck Norris jokes at the command window.

1 Download

Updated 26 Mar 2017

From GitHub

View license on GitHub

Display Chuck Norris jokes at the command window in MATLAB.
lolChuck Prints a Chuck Norris joke to the command window

Display jokes fetched from the Internet Chuck Norris Database (ICNDb).
See the links below for more information about the ICNDb and software
dependencies (JSONlab).


opts (optional):
Struct with fields specifying options to API parameters
opts.firstName - First name in joke (replaces 'Chuck')
opts.lastName - Last name in joke (replaces 'Norris')


lolChuck() - Prints a Chuck Norris joke to the command window

val = lolChuck() - Additionally returns the joke data to the workspace


>> lolChuck

Chuck Norris is the only person to ever win a staring contest against Ray Charles and Stevie Wonder.

>> val = lolChuck

Wo hu cang long. The translation from Mandarin Chinese reads: "Crouching Chuck, Hidden Norris"

val =

id: 170
joke: [1x104 char]
categories: {0x1 cell}

>> lolChuck(struct('firstName','Mark','lastName','Tomaszewski'))

Mark Tomaszewski doesn't use a computer because a computer does everything slower than Mark Tomaszewski.

See also:


Cite As

Mark Tomaszewski (2021). LOL Chuck (, GitHub. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Inspired by: JSONLab: a toolbox to encode/decode JSON files

Community Treasure Hunt

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

Start Hunting!