Hi all,
I'm trying to run the code that was writen in 2009 and I have this error:
Error using sym>convertChar (line 1537)
Character vectors and strings in the first argument can only specify a variable or number. To evaluate character vectors and strings representing symbolic expressions, use 'str2sym'.
Error in sym>tomupad (line 1253)
S = convertChar(x);
Error in sym (line 220)
S.s = tomupad(x);
Error in subs (line 68)
r_unique_name = subs(sym(f_unique_name),varargin{:});
The code is:
clear allclear all;close all;global A1 AG AH AF rho rhod sigma alpha bet gamma eps theta deltaK deltaH Omega omeg omega0 omega1 omega3 omega4 sigma syms c_t x_t s_t l_t f_t a_t R_t pi_t k_t m_t gh_t z_t u_t v_tsyms r_t w_t F_t H2_tCALIB_NCC;SYMLOG_NCC;FINSOL_NCC;IMP_NCC_pi;%SIM_NCC_pi;
Best Answer