New line after fprintf
229 ビュー (過去 30 日間)
古いコメントを表示
Joseph Melo Manalo
2020 年 3 月 17 日
コメント済み: Joseph Melo Manalo
2020 年 3 月 17 日
Good Day Everyone! I am just a new user and still trying to learn.
Is there a way to change the "Untitled"? And is there a way that the ">>" shows below the "Density = 0.62428 lb/ft^3" instead of after? I know this is only a small problem, but It hurt my eyes and I'm curious. Thank you in advance!
0 件のコメント
採用された回答
Stephen23
2020 年 3 月 17 日
編集済み: Stephen23
2020 年 3 月 17 日
Add a newline at the end of the fprintf format string:
fprintf('....\n',D)
% ^^ newline!
3 件のコメント
Stephen23
2020 年 3 月 17 日
編集済み: Stephen23
2020 年 3 月 17 日
"Is there a way to change the "Untitled"? "
"Untitled" is the name of your script. When you run the script, MATLAB will display its name. Therefore if you want to change the "Untitled" to something else, you need to change the name of your script (this just means that you change its filename). Note that the name will need to start with a letter and contain only letters, digits, and underscore characters.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!