SQlite Update command problem in Matlab

조회 수: 8 (최근 30일)
seu seu
seu seu 2020년 2월 14일
댓글: Geoff Hayes 2020년 2월 19일
Hi,all
I do not know why the reason happens when I use command "update" in Matlab to update my SQlite database. The connection 'conn' between Matlab and SQlite database is normal. My PC is on Windows10. The version of Matlab is R2019b.
DatabaseProductName: 'SQLite.
DatabaseProductVersion: '3.30.1'
DriverName: 'SQLite JDBC'
DriverVersion: '3.30.1
rowid username password
1 220171591 220171591
2 admin admin
update(conn,'Login','password',{'ADMIN'},{'WHERE username = ''admin'''})
the mistake matlab give below:
Undefined function 'update' corresponding to input parameters of type 'sqlite'
Is that means anything wrong with my Version of SQlite and Matlab.
Thanks.
  댓글 수: 5
seu seu
seu seu 2020년 2월 19일
insert,delete,fetch,but the command 'update' seems do no work to the sqlite database. according to the help docfile, the command 'update' just work for SQL database.
Geoff Hayes
Geoff Hayes 2020년 2월 19일
Please type the following into your command window
which update -all
What is returned by the above? It should list all of functions named update. Perhaps there is a conflict.

댓글을 달려면 로그인하십시오.

답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by