Script is not working anymore
이전 댓글 표시
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
채택된 답변
추가 답변 (1개)
Jan
2011년 11월 22일
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
Jan
2011년 11월 22일
@Alessandro: "which fsolve", not "solve".
The defaults should be replied by: "fsolve defaults"
Sean de Wolski
2012년 3월 14일
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
카테고리
도움말 센터 및 File Exchange에서 Manage Products에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!