MATLAB: Dseta ? help me

dseta

Hello,
I need to know what is the meaning of the dseta command.
I have a function that uses that word and I have no idea what it meant.
The function is:
dseta_H2O H_H2O_p + = eval (int (Cp_H2O (T), T, T0, T_vol));

Best Answer

The line
dseta_H2O H_H2O_p + = eval (int (Cp_H2O (T), T, T0, T_vol));
is not valid syntax. A valid syntax would be
[dseta_H2O H_H2O_p] = eval (int (Cp_H2O (T), T, T0, T_vol));
or
dseta_H2O = H_H2O_p + eval (int (Cp_H2O (T), T, T0, T_vol));
Either way, "dseta" is not being used as a command or function: dseta_H2O is being used as a variable name.
The code should not be using eval() on a symbolic integral like that; it should be using one of
dseta_H2O = H_H2O_p + double(int (Cp_H2O (T), T, T0, T_vol));
or (more likely)
dseta_H2O = H_H2O_p + double(subs(int (Cp_H2O (T), T, T0, T_vol)));
Related Question