I had the following error using Optimization Toolbox ver 6.2.1 with Matlab 8.0.0.783 (R2012b):
Undefined function 'isoptimargdbl' for input arguments of type 'cell'.
Error in fsolve (line 143)
msg = isoptimargdbl('FSOLVE', {'X0'}, x);
Error in meanflow (line 199)
X=fsolve(@syst, initguess, options, U1, p1, rho1, T1, mf, Qcalc, kdrop, Nc, m_jump, fl, mfc, Sc, Uc, split, spl_ratio, beta);
Could you tell me if it's something which depends on the sw versions? When I used the same code with Matlab R2012a I didn't get any error.

回答 (1 件)

Matt J
Matt J 2014 年 9 月 5 日
編集済み: Matt J 2014 年 9 月 5 日

0 投票

Make sure your objective function syst is returning numbers and not other data types like function handles and cells. See also,

カテゴリ

ヘルプ センター および File Exchange で Get Started with Optimization Toolbox についてさらに検索

質問済み:

2014 年 9 月 5 日

編集済み:

2014 年 9 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by