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

답변 (1개)

Matt J
Matt J 2017년 10월 12일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Problem-Based Optimization Setup에 대해 자세히 알아보기

질문:

2013년 3월 19일

답변:

2017년 10월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by