Using MySql- Select
Show older comments
Hi,
I have a problem at this line:
['select count(*) from gene_threepoints where Window_size=30 and leftSeq>= ''',x(1),''' and leftSeq< ''',x+jump,''' and middleSeq>= ''',y,''' and middleSeq< ''',y+jump,''' and rightSeq>= ''',z,''' and rightSeq< ''',z+jump,''' and GENE_id= ''' ,num2str(GENE_id_Array{Loop}),'''']
When I enter this line in the workspace, I get null at the x,y,z values. (This line is inside a triple for of x,y,z).
like this:
select count(*) from gene_threepoints where Window_size=30 and leftSeq>= ' ' and leftSeq< '
' and middleSeq>= ' ' and middleSeq< '
' and rightSeq>= ' ' and rightSeq< '
' and GENE_id= '112'
Windows_size, leftSeq, middleSeq ,rightSeq and GENE_id are columns in the database
What is the mistake?
Thanks in advance for any help!
Accepted Answer
More Answers (1)
Hodaya
on 29 Dec 2011
0 votes
Categories
Find more on Database Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!