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

Where is the code? Copy the code here. First read if any help present in the code.
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,:);
There is a test function for demo......you may follow that.
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?
fluid.u2=fluid.u1(p,T);
When you call that line what are class(p) and class(T)?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 MATLAB에 대해 자세히 알아보기

제품

릴리스

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