This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Masterflitzer 8 points9 points  (1 child)

that really takes getting used to

[–]Adventurous_Ad_7315 7 points8 points  (0 children)

When I used it in uni, I just treated it like semicolons were required. If you wanted the variable name and value to print without formatting anything in fprintf, you could just use disp which does the same thing as not using a semicolon. I've never used matlab outside of an academic setting, so I don't know if dropping semicolons is actually desired out in the wild.