I work with fcm in MATLAB. I need to turn off logging in command windows. What is the best way to accomplish this?
For example, when I run the command I get the following printed to the MATLAB command window
>> fcm(dok, 7)
Iteration count = 1, obj. fcn = 8.970479
Iteration count = 2, obj. fcn = 7.197402
Iteration count = 3, obj. fcn = 6.325579
Iteration count = 4, obj. fcn = 4.586142
You can set the fourth element of
optionsarray input to0to indicate that you don't want to display the results from every iteration.Alternately, you can use
evalcto suppress all command line output from a function.