Error in plotSampleHist

20 views
Skip to first unread message

Bhushan Dhamale

unread,
Nov 14, 2017, 5:46:13 AM11/14/17
to COBRA Toolbox
I am testing a few of the functions of the COBRA toolbox from the Schellenberger et al, 2011, Nature Protocol paper examples.
When I run the plotSampleHist function, I get the following error message:

Undefined function 'smooth' for input arguments of type 'double'.
Error in plotSampleHist (line 164)
counts(:, i) = smooth(bins, n');


How do I fix this?

P.S. I am attaching the live script and HTML files for reference.
E_coli_core_demo.mlx
E_coli_core_demo.html

Thomas Pfau

unread,
Nov 14, 2017, 7:21:57 AM11/14/17
to cobra-...@googlegroups.com

Hi,

This is another dependency. Seems like this function uses the smooth command from the Curve Fitting Toolbox.
Thus if that toolbox is not installed it won't work.
This does not show up in tests because the function is not currently being tested.

Sorry for that. This dependency might change in the future but until someone volunteers to code the respective function immediately, this is not of a high priority.

Best,

Thomas

--

---
You received this message because you are subscribed to the Google Groups "COBRA Toolbox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cobra-toolbo...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
Université du Luxembourg
Faculté des Sciences, de la Technologie et de la Communication
Campus Belval, Biotech II 115
6 avenue du Swing
L-4367 Belvaux
Tel: (+352) 46 66 44 5309
Email: thoma...@uni.lu

Bhushan Dhamale

unread,
Nov 14, 2017, 11:51:18 AM11/14/17
to COBRA Toolbox
Hello Thomas,
As always, thank you for the prompt reply.
I'll keep an eye out for any update on this dependency.

Best,
Bhushan
Reply all
Reply to author
Forward
0 new messages