disp(‘hello world’);

148 次查看(过去 30 天)
Hassan
Hassan 2023-1-27
编辑: Chris 2023-1-27
disp (hello world);

回答(1 个)

Chris
Chris 2023-1-27
编辑:Chris 2023-1-27
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: " "

Community Treasure Hunt

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

Start Hunting!

Translated by