I have a MatLab function in which I have a for-loop that make a call in every iteration to an external function from a library.
Unfortunately this function produces a hundred lines of console output on every call and my for-loop (parfor to be precise) has a number of iterations in the order of 10k-100k!
So I am addressing basically 2 problems:
- Output console is extremely confusing and hardly readable
- A consistent (or near so) slow down in code execution
The first problem is the most annoying at the moment but I would like to solve both.
I am wondering if there is a way to prevent a function to produce text output.