any output on command window
4 次查看(过去 30 天)
显示 更早的评论
when I create my code on the editor and Irun it results are shown on workspace, but the command window remain empty, how can i solve this problem?
1 个评论
Guillaume
2020-1-14
Unless you specifically write code to output something to the command window nothing would go there so it sounds like everything is as it should.
If you have specifically written code to output something at the command window and it doesn't appear, then we can't really help you without seeing said code.
回答(2 个)
Bhaskar R
2020-1-14
编辑:Bhaskar R
2020-1-14
- Probably all statements of your code terminated with the operator ;(semilocon) that means MATLAB doesnot show the computed results to command window
- Probably your code may not have the command write functions like disp, sprintf, fprintf
- Probably your code has the MATLAB command clc( clear command window)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Entering Commands 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!