LOL Chuck

Display Chuck Norris jokes at the command window.
23 descargas
Actualizado 26 mar 2017

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).

Inputs:

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')

Usage:

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

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

Examples:

>> 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:

ICNDb: http://www.icndb.com/api/
JSONlab: https://www.mathworks.com/matlabcentral/fileexchange/33381-jsonlab--a-toolbox-to-encode-decode-json-files

Citar como

Mark Tomaszewski (2024). LOL Chuck (https://github.com/mark-toma/LolChuck), GitHub. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2013a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Holidays / Seasons en Help Center y MATLAB Answers.
Etiquetas Añadir etiquetas

Community Treasure Hunt

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

Start Hunting!

No se pueden descargar versiones que utilicen la rama predeterminada de GitHub

Versión Publicado Notas de la versión
1.0.0.0

Formats description

Updated title.

Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.
Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.