How do I write a command to input "your name" and then display your name on the command window?

I am completely new in Matlab and am having some trouble with the question below:
Q. How do I write a command to input "your name" and then display your name on the command window
Any help is highly appriciated. Thanks in advance!

Categories

Tags

Asked:

on 30 Jan 2017

Commented:

on 5 Mar 2025

Community Treasure Hunt

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

Start Hunting!