Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matlab warnings when running BirthDeath example #16

Open
dweindl opened this issue Apr 20, 2018 · 1 comment
Open

Matlab warnings when running BirthDeath example #16

dweindl opened this issue Apr 20, 2018 · 1 comment

Comments

@dweindl
Copy link
Member

dweindl commented Apr 20, 2018

>> generateLNA('BirthDeath/BirthDeath.xml', 'BirthDeath', 'BOTH');
Warning: Support of character vectors will be removed in a future release. Character vectors can be used only for variable names and numbers.
Instead, to create symbolic expressions first create symbolic variables using 'syms'. To evaluate character vectors and strings representing
symbolic expressions, use 'str2sym'. 
> In sym>convertExpression (line 1581)
  In sym>convertChar (line 1486)
  In sym>tomupad (line 1236)
  In sym (line 215)
  In cell2sym (line 31)
  In SBML2StoichProp (line 59)
  In generateLNA (line 14) 
[... many more as above ... ]
> In sym>convertExpression (line 1581)
  In sym>convertChar (line 1486)
  In sym>tomupad (line 1236)
  In sym (line 215)
  In sym/subs>@(x)sym(x) (line 206)
  In sym/subs>normalize (line 206)
  In sym/subs>mupadsubs (line 154)
  In sym/subs (line 142)
  In SBML2StoichProp (line 65)
  In generateLNA (line 14) 
Warning: Function 'Theta' not verified to be a valid MATLAB function. 
Warning: Function 'phi' not verified to be a valid MATLAB function. 
Computing symbolic derivatives
Warning: Solutions are valid under the following conditions: in((k_m*k_p^2 + g_m*k_p^2*phi01 + g_m^2*k_p*phi01 + g_m*g_p^2*phi02 +
g_m^2*g_p*phi02 + g_m*g_p*k_p*phi01)/(g_m*g_p*(g_m + g_p)), 'real') & in((k_p*(k_m + g_m*phi01))/(g_m*(g_m + g_p)), 'real') & in((k_m +
g_m*phi01)/g_m, 'real'). To include parameters and conditions in the solution, specify the 'ReturnConditions' value as 'true'. 
> In solve>warnIfParams (line 508)
  In solve (line 357)
  In generateLNAComponents>solveSS_var (line 377)
  In generateLNAComponents (line 109)
  In generateLNA (line 25) 
computing initial sensitivities
dweindl added a commit that referenced this issue Apr 22, 2018
…unction.

Warning: Function 'phi' not verified to be a valid MATLAB function.
 #16
@dweindl
Copy link
Member Author

dweindl commented Apr 22, 2018

Warning: Support of character vectors will be removed in a future release. Character vectors can be used only for variable names and numbers.
Instead, to create symbolic expressions first create symbolic variables using 'syms'. To evaluate character vectors and strings representing
symbolic expressions, use 'str2sym'.

Should follow that advice at some point, but would break pre-2017B compatibility now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant