SQlite Update command problem in Matlab
Mostrar comentarios más antiguos
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 comentarios
Geoff Hayes
el 14 de Feb. de 2020
seu - is connect valid for SQLite? Try looking at SQLite connection and the available functions (from this page) that can be used to execute SQL statements against STLite databases.
seu seu
el 15 de Feb. de 2020
Geoff Hayes
el 18 de Feb. de 2020
So does a problem only occur when you want to modify a record? What code do you use for those commands that work?
seu seu
el 19 de Feb. de 2020
Geoff Hayes
el 19 de Feb. de 2020
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.
Respuestas (0)
Categorías
Más información sobre MATLAB Interface to SQLite en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!