disp(‘hello world’);

34 次查看(过去 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: " "

类别

Help CenterFile Exchange 中查找有关 Structures 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by