Cody toolbox availability

1 次查看(过去 30 天)
I've been wondering whether toolbox functions are available in Cody. Alan Chalker set as a problem testing whether a given toolbox is available on the Cody server, and the results seem to show that the Image Processing Toolbox is available.
However, when I try to call imfilter, an IPT function, I get an error from Cody.
Here's my solution to the test problem:
function y = toolbox(x)
v = ver;
y = ismember(x, {v.Name});
% double check that IPT is actually available
imfilter(rand(5), rand(2));
end
and here's what comes back:
Error: Undefined function 'imfilter' for input arguments of type 'double'.
If I omit the last line of my "solution", it works fine and appears to report that the IPT is available.
Has anyone any insight into this, please? I'm wondering if I'm doing something really stupid.

采纳的回答

Helen Chen
Helen Chen 2012-2-20
Hi David -
Cody currently supports basic MATLAB. Image Processing is not supported at this time.
Helen
  1 个评论
David Young
David Young 2012-2-20
Helen, thank you for the reply. I was unsure, because solution 2231 uses imfilter successfully. Presumably the IPT was available in the past.
In fact, I prefer having the restriction to basic MATLAB, because it means that problems like problem 294 offer a more interesting challenge.
Perhaps there should be a statement about toolbox availability in the documentation at http://www.mathworks.co.uk/matlabcentral/about/cody/.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by