Suppress command window output in matlab live editor in 2016a
17 views (last 30 days)
Show older comments
Aditya on 1 Jul 2016
Answered: Jared MacDonald on 4 Aug 2016
I started using the live editor in 2016a. I am running a simulation in the live script and then doing some plotting. However, when I run the simulation it includes the output to the command window in the right-side output section. Is there a way to suppress that output? I tried looking in the help documentation for the live editor but didn't find my answer there.
Thanks in advance.
Jared MacDonald on 4 Aug 2016
This is by design in the Live Editor, which captures all output - plots and textual output - within the document. Are you able to suppress the textual output (by adding semicolons, for example), or is it being emitted by a function that you cannot modify? Can you post a small code example?
Find more on Live Scripts and Functions 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!