How to print : What's Your Name

4 views (last 30 days)
Akshay Kumar
Akshay Kumar on 8 Feb 2020
Commented: John D'Errico on 7 Feb 2022
print('What's your name')
giving an error
  1 Comment
John D'Errico
John D'Errico on 7 Feb 2022
Are you writing code in Python, or some other language, and hoping that it will be valid MATLAB code? That rarely works out well.

Sign in to comment.

Accepted Answer

Jeremy
Jeremy on 8 Feb 2020
Edited: Jeremy on 8 Feb 2020
fprintf('What''s your name\n')

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!