disp(‘hello world’);

104 views (last 30 days)
Hassan
Hassan on 27 Jan 2023
Edited: Chris on 27 Jan 2023
disp (hello world);

Accepted Answer

Chris
Chris on 27 Jan 2023
Edited: Chris on 27 Jan 2023
disp ('hello world');
hello world
Your apostrophes are wrong. How did you generate them? Here is your version:
disp (hello world);
Invalid text character. Check for unsupported symbol, invisible character, or pasting of non-ASCII characters.

Error in connector.internal.fevalMatlab

Error in connector.internal.fevalJSON
You could also use double quotes: " "

More Answers (0)

Community Treasure Hunt

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

Start Hunting!