MATLAB Responds to Greeting

MATLAB replies back when you type "hi" into the command window, with eleven possible responses.

You are now following this Submission

Typing the word "hi" in the command window will trigger MATLAB to randomly select one of eleven possible text responses to your greeting. Some are friendly, others are not.

This file is meant to have some fun with MATLAB. You may modify the program to make more possible responses, change the text responses, and so on. I was inspired to make this file when I found out about MATLAB's internal file called "why." Type that word into your command window for some strange philosophy.

Cite As

Ahmad (2026). MATLAB Responds to Greeting (https://www.mathworks.com/matlabcentral/fileexchange/23895-matlab-responds-to-greeting), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Just for fun in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0