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.

 Risposta accettata

Wayne King
Wayne King il 11 Feb 2012
Uptal, You can also try the following:
restoredefaultpath; matlabrc
then see if that corrects your problem.

1 Commento

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?

Accedi per commentare.

Più risposte (2)

Wayne King
Wayne King il 11 Feb 2012
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 Commenti

Utpal Bakshi
Utpal Bakshi il 11 Feb 2012
Thanks for helping... when i used ver i couldnot find Bioinformatics toolbox, and the licence commands yields 1.
Wayne King
Wayne King il 11 Feb 2012
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?
Utpal Bakshi
Utpal Bakshi il 11 Feb 2012
yes wayne.. i also found bioinfo toolbox folder on my program file.. is there any way to manually set it up?
Utpal Bakshi
Utpal Bakshi il 11 Feb 2012
i am using matlab version 7.9
Wayne King
Wayne King il 11 Feb 2012
try
>>rehash toolbox

Accedi per commentare.

Walter Roberson
Walter Roberson il 11 Feb 2012
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 Commento

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

Accedi per commentare.

Categorie

Scopri di più su Bioinformatics Toolbox in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by