What happens when you type "why" in the command window?

66 views (last 30 days)
Whenever we type why in the MATLAB command window the answer it shows is entirely different. "Why" is it so?

Accepted Answer

Walter Roberson
Walter Roberson on 29 Jun 2013
You can read the source for why() . It generates a response randomly. why() was included purely for fun, and is not intended to analyze any current error condition or give real explanations for warning messages.
To read the source, give the command
type why

More Answers (3)

Image Analyst
Image Analyst on 29 Jun 2013

Santiago Arango Palacio
Santiago Arango Palacio on 14 Sep 2016
LoL MatLab

Iam Mauricio Vargas Silva
the programmers showed off lol
  1 Comment
Iam Mauricio Vargas Silva
If it is not understood, it is because I used the google translator. I do not speak English.

Sign in to comment.

Categories

Find more on Historical Contests in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!