フィルターのクリア

Maximum number of function evaluations exceeded; increase OPTIONS(14)

2 ビュー (過去 30 日間)
Daehee Lim
Daehee Lim 2020 年 12 月 7 日
回答済み: SaiDileep Kola 2021 年 1 月 13 日
I run a function 'trim' and I got a message;
Maximum number of function evaluations exceeded;
increase OPTIONS(14)
Here is my code.
%.. Initial Conditions of Input Variables for Trim Calculation
% u = [ Throttle Aileron Elevator ]
u0 = [ 0.3 0 0 ]' ;
% x = [ VT AoA AoS P Q R Phi Theta Psi C1 C2 C3 ]
x0 = [ Vt_trim 0 0 0 0 0 0 0 Heading_Init 0 0 0 ]' ;
% y = [ Vt AoA AoS P Q R Phi Theta Psi C1 C2 C3 ]
y0 = [ Vt_trim 0 0 0 0 0 0 0 Heading_Init 0 0 0 ]' ;
%.. Compute Trim Codition for Controller
[ x_trim, u_trim, y_trim, xd_trim ] = trim('sys', x0, u0, y0, [], [], []) ;
What's the meaning of the message 'Maximum number of function evaluations exceeded; increase OPTIONS(14)'
and what should I do to solve my problem?

採用された回答

SaiDileep Kola
SaiDileep Kola 2021 年 1 月 13 日
I couldn't reproduce the issue at my end, although I see increaes options as optimization parameter as defined in syntax of 5th and 6th option of trim function documentation, and other have used the optimization array in their respective work sucessfully as shown here, it may be helpful.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSystems of Nonlinear Equations についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by