What happens when you type "why" in the command window?
78 views (last 30 days)
Show older comments
KIRAN kumar
on 29 Jun 2013
Commented: Iam Mauricio Vargas Silva
on 3 Sep 2021
Whenever we type why in the MATLAB command window the answer it shows is entirely different. "Why" is it so?
0 Comments
Accepted Answer
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
0 Comments
More Answers (3)
Iam Mauricio Vargas Silva
on 3 Sep 2021
the programmers showed off lol
1 Comment
Iam Mauricio Vargas Silva
on 3 Sep 2021
If it is not understood, it is because I used the google translator. I do not speak English.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!