exec
Execute SQL statement using SQLite connection
Theexec
function will be removed in a future release. Use theexecute
function to manage the SQLite database instead.
Syntax
Description
exec(
performs database operations on an SQLite database file by executing the SQL statementconn
,sqlquery
)sqlquery
for the SQLite connectionconn
using the MATLAB®interface to SQLite. For example, use this syntax to create database tables in the SQLite database file. To import data into MATLAB from the SQLite database file, use thefetch
function.
Examples
Input Arguments
版本历史
Introduced in R2016a