📜  使用变量 matlab 打印字符串 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:10.777000             🧑  作者: Mango

代码示例1
fprintf('The highest point of the mountain is : %d feet.\n', hp);
fprintf('The highest point of the mountain is : %.2f feet.\n', hp);