-1
我怎么能这个Java代码转换为MATLAB代码, 更换数据库的价值我想用MATLAB 请帮助TT解决方案使用MATLAB
con2 = DriverManager.getConnection("jdbc:mysql://localhost/database","root", " ");
str = con2.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
String selectlastdb = "select * from table order by id desc limit 1";
result = str.executeQuery(selectlastdb);
result.next();
result.updateString("aa", "hello");
result.updateString("bb", "bye");
result.updateRow();