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 commentaires

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)?

Connectez-vous pour commenter.

Réponses (0)

Produits

Version

R2017b

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by