当我想从数据库(ms-access)获取包含带有matlab的长文本字段的数据时,我收到此消息'内存不足。输入HELP MEMORY作为您的选择。' 只是包含长文本字段,与其他字段没有问题 这是我的代码:
con = database.ODBCConnection('features','','');
curs = exec(con,'SELECT * FROM aa ');
setdbprefs('DataReturnFormat','cellarray');%this one with or without it
%still the same problem
curs=fetch(curs)
curs =
ODBCCursor with properties:
Data: 0
RowLimit: 0
SQLQuery: 'SELECT * FROM aa '
Message: 'Invalid Cursor: Out of memory. Type HE...'
Type: 'ODBCCursor Object'
Statement: [1x1 database.internal.ODBCStatementHandle]