Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
suppress a message displayed while executing a function

Subject: suppress a message displayed while executing a function

From: ryan

Date: 27 Dec, 2013 09:10:27

Message: 1 of 2

When i execute the function fsolve i get a message 'optimisation terminated: first order optimality.....etc'. How can i suppress this message?

Subject: suppress a message displayed while executing a function

From: Phil Goddard

Date: 27 Dec, 2013 16:14:07

Message: 2 of 2

You need to specify a different "options" input,

options = optimoptions('fsolve');
options.Display = 'off';

fsolve(....,options);

See
>> doc fsolve
or
>> doc optimoptions
for more details

Phil.

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us