MATLAB can't find some commands such as fsolve or optimoptions

11 views (last 30 days)
I was creating a function that required fsolve, and when I would run it, the message "Undefined function 'fsolve' for input arguments of type 'function_handle'." would return. Entering help fsolve in the command window yielded 'fsolve not found.'

Answers (1)

Walter Roberson
Walter Roberson on 7 Dec 2013
It sounds as if you do not have the Optimization toolbox installed, or else not licensed.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!