How to hide the "Computing cell inner product" message?

Good day everyone!
I need a help to tidy up the output result of fmincon function. I am running a production optimization using fmincon and I choose to display the iteration result. Due to the nature that the iteration result displayed after each iteration, while the function I need to minimize is not a simple function, the result is like this:
Using inner product: 'ip_simple'.
Computing cell inner products ... Elapsed time is 0.209509 seconds.
Assembling global inner product matrix ... Elapsed time is 0.002757 seconds.
Using inner product: 'ip_simple'.
Computing cell inner products ... Elapsed time is 0.210300 seconds.
Assembling global inner product matrix ... Elapsed time is 0.002689 seconds.
1 82 6.422727e+07 0.000e+00 6.550e+08 1.392e-03
Using inner product: 'ip_simple'. Computing cell inner products ... Elapsed time is 0.210200 seconds.
Assembling global inner product matrix ... Elapsed time is 0.002849 seconds.
Using inner product: 'ip_simple'. Computing cell inner products ... Elapsed time is 0.209705 seconds.
Assembling global inner product matrix ... Elapsed time is 0.003073 seconds.
....
Using inner product: 'ip_simple'.
Computing cell inner products ... Elapsed time is 0.211640 seconds.
Assembling global inner product matrix ... Elapsed time is 0.003055 seconds.
2 123 5.995791e+07 0.000e+00 5.619e+08 1.750e-03
My question is, can I either display all the result of iteration after the minimization process end, not after each iteration, OR, remove all the messages that I got and displaying only the result of each iteration?
Thank you so much for the help!
Cheers!
Marcel

Answers (1)

You should be able to do either/both. Your routine, not MATLAB, is printing those messages.

Categories

Asked:

on 19 Mar 2013

Answered:

on 12 Oct 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!