Run Section not printing answer
2 次查看(过去 30 天)
显示 更早的评论
I have created several different programs within an m file and used %% to seperate the sections, and the code was printing my phrase perfectly until I added another section. Now it will not print the code in the command window, when I run a certain section. Any ideas what the problem might be?
2 个评论
Ameer Hamza
2020-6-13
Adding a section should not change the behavior of previous sections. Can you show a small example of code that causes this problem?
Cris LaPierre
2020-6-13
It should not be printing the code. Do you mean not printing the output? Have you added a semicolon at the end of the line that was printing?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Characters and Strings 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!