www.gusucode.com > database 案例源码程序 matlab代码 > database/CloseSQLiteConnObjectExample.m

    %% Close SQLite Connection Object
% Create a SQLite connection |conn| using the MATLAB(R) interface to
% SQLite and the existing database file |tutorial.db|, which resides in the
% current working folder.
%% 
dbfile = fullfile(pwd,'tutorial.db');

conn = sqlite(dbfile);
%%
% Close the SQLite connection |conn|.
close(conn)