I have a sql database that I am connected to in matlab to load tables into my database. However, I cannot update these tables. When I run my code the updated table is appended to the end of my original table as new rows. I want to be able to update all the numbers in my matrix without manually inputing the new data using the update command in sql because my datapoints are constantly changing. I am currently connecting using a JDBC connection but the sqlwrite command does not work in this case.
可以将文章内容翻译成中文,广告屏蔽插件会导致该功能失效:
问题:
回答1:
Have you tried below update cmd?
update(conn,tablename,colnames,data,whereclause)