Undefined function or method

Hello everyone, I am new on MATLAB and today I try to reproduce the demo given on Bioinformatics toolbox namely "Investigating the Bird Flu Virus". But whenever I used 'featuresparse' function as given in the demo it returns "Undefined function or method 'featuresparse' for input arguments of type 'struct'". same error appears with some other functions as well (viz. 'getgenbank' function). Maybe it's a too simple question to ask, but I am totally clueless. I am sure anyone of u will help me in this. Thanks in advance.

 采纳的回答

Uptal, You can also try the following:
restoredefaultpath; matlabrc
then see if that corrects your problem.

1 个评论

I am having the same problem as Utpal and this did not fix it. The ver command says I have the bioinformatics toolbox installed, and license('test','bioinformatics_toolbox') returns a 1. But still, after inputting the above command, which -all featuresparse returns "'featuresparse' not found"
Any idea how I can fix this?

请先登录,再进行评论。

更多回答(2 个)

It sounds like the Bioinformatics Toolbox is not installed on your machine, or not properly installed.
If you enter
>>ver
at the command prompt, do you see the Bioinformatics Toolbox in the list of products?
Also, does the command:
>>license('test','bioinformatics_toolbox')
return a 1, or 0?

5 个评论

Thanks for helping... when i used ver i couldnot find Bioinformatics toolbox, and the licence commands yields 1.
The license command gives 1, but you do not see it in the output of ver??? are you sure?
See Walter's answer, what version are you using?
yes wayne.. i also found bioinfo toolbox folder on my program file.. is there any way to manually set it up?
i am using matlab version 7.9
try
>>rehash toolbox

请先登录,再进行评论。

featuresparse appeared in the toolbox for R2006b and has been there since. If you are using that version or newer, please use
ver
to check whether it thinks you have a license for the bioinformatics toolbox, and please use
which -all featuresparse
to see whether it can locate the file.

1 个评论

thanks walter.. but i do not get bioinformatics toolbox with ver command .. and which -all featuresparse can not locate it says 'featuresparse' not found.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Bioinformatics Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by