Script is not working anymore
Show older comments
Hi all, I'm trying to run a script that I had used without problem in March 2011. The Matlab version is 7.8.0.347 (R2009a). I get the following error message.
??? Error using ==> optimset at 143
No default options available for the function 'fsolve'.
Error in ==> implicit_burnup_v02 at 4
options = optimset('fsolve');
Did anything change recently as far as this function is concerned? I tried to look up for users with a similar problem but I have been unsuccessful so far.
Thank you, Alessandro
Accepted Answer
More Answers (1)
Jan
on 22 Nov 2011
I do not get an error using the same Matlab version 7.8.0.347 (2009a). But fsolve is part of the Optimization Toolbox. Please check if you have installed it correctly:
ver
which fsolve
The defaults should be replied by:
fsolve('defaults')
2 Comments
Jan
on 22 Nov 2011
@Alessandro: "which fsolve", not "solve".
The defaults should be replied by: "fsolve defaults"
Sean de Wolski
on 14 Mar 2012
Copying Alessandro's comment with license censored.
Hi Jan,
thank you for you reply. It seems I have it. This is what I get.
>> ver
-------------------------------------------------------------------------------------
MATLAB Version 7.8.0.347 (R2009a)
MATLAB License Number: ####### [SCd Censor]
Operating System: Microsoft Windows XP Version 5.1 (Build 2600: Service Pack 3)
Java VM Version: Java 1.6.0_04-b12 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode
-------------------------------------------------------------------------------------
MATLAB Version 7.8 (R2009a)
Simulink Version 7.3 (R2009a)
Curve Fitting Toolbox Version 2.0 (R2009a)
Database Toolbox Version 3.5.1 (R2009a)
Fuzzy Logic Toolbox Version 2.2.9 (R2009a)
Optimization Toolbox Version 4.2 (R2009a)
Partial Differential Equation Toolbox Version 1.0.14 (R2009a)
Signal Processing Toolbox Version 6.11 (R2009a)
Spline Toolbox Version 3.3.6 (R2009a)
Spreadsheet Link EX Version 3.0.3 (R2009a)
Statistics Toolbox Version 7.1 (R2009a)
Symbolic Math Toolbox Version 5.2 (R2009a)
System Identification Toolbox Version 7.3 (R2009a)
Wavelet Toolbox Version 4.4 (R2009a)
>> which solve
C:\Program Files\MATLAB\R2009a\toolbox\symbolic\solve.m
Categories
Find more on Manage Products in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!