I\'m trying to export some data from MATLAB to a database. I use a PostgreSQL database via ODBC as follows. First, I create the connection:
dbConn = database(\'P
Have you tried using single quotes?
>> q = sprintf('insert into test(name) values(''%s'')', 'xxx') q = insert into test(name) values('xxx')