How to solve this error: Error code "Undefined function 'select' for input arguments of type 'char'"?

I put my code as following:
>> select s_info_windcode 代码,trade_dt 日期,fs_info_membername 会员简称,
fs_info_type 类型,fs_info_positionsnum 持仓数量,fs_info_rank 名次
from CIndexFuturesPositions
where s_info_windcode like 'IF%'
AND trade_dt >'20140201' --参考日期
Here is the error:
Undefined function 'select' for input arguments of type 'char'. How to get rid of this?
Thanks

回答 (1 件)

David Young
David Young 2014 年 2 月 24 日
It looks as if you're typing SQL to the MATLAB prompt. You need to use an SQL interpreter, not MATLAB.

カテゴリ

ヘルプ センター および File ExchangeProgramming についてさらに検索

タグ

質問済み:

2014 年 2 月 24 日

回答済み:

2014 年 2 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by