Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: How do I retrieve data in matlab database using column name (where clause)?
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
kainat ali

Posts: 18
Registered: 12/26/12
How do I retrieve data in matlab database using column name (where clause)?
Posted: Apr 17, 2013 2:12 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

How do I retrieve data in matlab database using column name (where clause)? I've tried this but it doesn't work:

catgQuery = strcat('select ID from MyTable where ColumnName= ', Category);
catgCurs = exec(conn,catgQuery);
catgResult = fetch(catgCurs);
r1 = catgResult.data



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.