fprintf seems to ignore semicolon
Show older comments
As the title reveals, when I use "fprintf" with a semicolon at the end, the argument in fprintf command seems to appear normally in command window. Is it just because fprintf command is designed to ignore in purpose the semicolon or something else?
I just noticed that "disp" behaves the same way as "fprintf". I know that I could use a "%" at the beginning of "fprintf". I just want to know about this behaviour.
Accepted Answer
More Answers (0)
Categories
Find more on Whos in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!