When running a matlab function, it automatically prints the first output to the command window

10 views (last 30 days)
When running a matlab function, it seems like it automatically prints the first output to the command window. How do I suppress this?

Accepted Answer

Walter Roberson
Walter Roberson on 26 Nov 2013
Put a semi-colon after the call. For example instead of
my_test(3.5, 81)
put
my_test(3.5, 81);

More Answers (0)

Categories

Find more on Get Started with MATLAB 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!