does not support cell arrays containing cell arrays or objects.

hi all
i got function from share code
but the problem when i fill the input as array i got that error
my input file
p = [100,100,100,100,100,100,100,100,100]
jac = 4x1
anyone could help me

5 件のコメント

KSSV
KSSV 2019 年 5 月 30 日
Where is the code? Copy the code here. First read if any help present in the code.
vaya putra
vaya putra 2019 年 5 月 30 日
there is alot line about 3000 line,
this is my code.
what i have to do make iteration using this fanction
p and p0( initial guest)
fluid.muW=@(p,T) 2.414.*1e-5.*(10.^(247.8./(T-140)));
fluid.u1 =@(p,T) XSteamW('u_pt',p./barsa,T);
fluid.u2=fluid.u1(p,T);
fluid.uW=fluid.u2(1,:); % only need 1 line
fluid.h1 =@(p,T) XSteamW('h_pt',p./barsa,T);
fluid.h2 =fluid.h1(p,T);
fluid.hW =fluid.h2(1,:);
KSSV
KSSV 2019 年 5 月 30 日
There is a test function for demo......you may follow that.
vaya putra
vaya putra 2019 年 5 月 30 日
yes i have done follow that.
when i fill input file as vector is correct
now i want to fill file with array file.
any comment?
Walter Roberson
Walter Roberson 2019 年 5 月 30 日
fluid.u2=fluid.u1(p,T);
When you call that line what are class(p) and class(T)?

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB Coder についてさらに検索

製品

リリース

R2017b

タグ

タグが未入力です。

質問済み:

2019 年 5 月 30 日

コメント済み:

2019 年 5 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by