grayconnected command not working.

I am using Matlab 2013 version and it doesn't contain grayconnected.m file in library. Can any help me out to get grayconnected.m file.

Answers (3)

It looks like, this function is part of Image processing toolbox. You will have to buy this toolbox to be able to use the function. If you have the toolbox installed and are still getting error messages, please post the error message itself.
Image Analyst
Image Analyst on 30 Sep 2015
See my attached magic wand program, which does a similar thing.
John D'Errico
John D'Errico on 30 Sep 2015
Edited: John D'Errico on 30 Sep 2015
Use the ver command to check what toolboxes you have. If you have the IPT installed, I would bet that grayconnected was not part of that TB until more recently, so you would need to upgrade to a more recent MATLAB release.
To check the above statement, I looked for when grayconnected.m was introduced, and it seems to have appeared in the current release.
That would suggest you need to get the newest MATLAB release. Note that you cannot upgrade only one toolbox.

Categories

Asked:

on 30 Sep 2015

Edited:

on 30 Sep 2015

Community Treasure Hunt

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

Start Hunting!