matlab7 + sqlitejdbc-v056.jar出现错误

conn=database('data.db','','','org.sqlite.JDBC','jdbc:sqlite:C:/MATLAB7/work/del_man_voice_from_wave/data.db');
% ping(conn);
% set(conn,'AutoCommit','off');
exec(conn, 'create table mytst(id, name, score1, score2)');
exec(conn, 'insert into mytst values(1,"zhangsan",88.5,90)');
exec(conn, 'insert into mytst values(2,"lisi",98.5,92);');
curs=exec(conn,'select id,name from mytst')
disp aa
curs=fetch(curs);
% commit(conn);

posted @ 2015-05-13 22:49  aprial  阅读(223)  评论(0编辑  收藏  举报