Evaluation failed error in 'regexprep' function in MATLAB
0
0
Entering edit mode
5.9 years ago
Batu ▴ 250

Hello,

I'm trying to run Lee12 algorithm which is shown in this paper in MATLAB. Firstly, I got an error showing grRules as an undefined variable. It is fixed by adding creategrRulesField function at the beginning of the script. But now, I have an error about regular expression.

Error using regexprep  Evaluation of 'AandB($1,$2)' failed: 

Undefined function 'AandB' for input arguments of type 'char'.

Error in analysis>addGeneData (line 148)
            g = regexprep(g,match_expr,replace_expr,'once');

Error in analysis>geneToReaction (line 114) 
.....

I could not find anything to fix this error. It is even harder to find anything about Lee12 method, since it doesn't have any specific name but other papers call it Lee12.

Thanks for your help...

matlab metabolic flux gene expression • 1.1k views
ADD COMMENT

Login before adding your answer.

Traffic: 2968 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6