フィルターのクリア

Fetching data from Access query in MATLAB

2 ビュー (過去 30 日間)
Jared
Jared 2014 年 12 月 4 日
回答済み: Roger Wohlwend 2014 年 12 月 5 日
I have the database toolbox and have been able to import Access table data into MATLAB using the fetch command. When I use the same process to try and fetch data from an Access query I'm getting an invalid cursor error. Here is the SQL statement I'm using in MATLAB.
curs = exec(conn,'select Return_Value from qry_DFAMonthly');
I'm getting the following error message:
Message: 'Invalid Cursor: ODBC Driver Error: [Microsoft][ODBC Microsoft Access Driver] Undefined f...'
Thanks for any help,
JK

回答 (1 件)

Roger Wohlwend
Roger Wohlwend 2014 年 12 月 5 日
There seems to be something wrong with your database connection, or your query does not exist, or the field. Check those three items.

カテゴリ

Help Center および File ExchangeDatabase Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by