Dear matlab community,
I am writing a script in live script (.mlx).
When I use the functions in the live script including display/output processes using "disp" or "fprintf" function, many strings are output to the live script, impairing readability.
Is there a way to write some of the outputs to the command window or to another file instead of in the live script? Or is there a way to avoid some of them from being output?
I understand it would be easy to just delete the "disp" and "fprintf" in the function, but since the output is from a function in a distributed toolbox, so I would like to change my live script without modifying the function.
Also, I am adding a minimal script for this issue.
function [] = outputtest()
disp('This is test output.')
If it is written in .mlx as above, is it possible to change the output to the command window or another file?
Thank you in advance.