User`s guide

6 Using Database Toolbox Functions
6-20
conn, the connection object for the database
yearlySales, the name of the table to which you are exporting data
The cell arrays colnames and exdata
fastinsert(conn, 'yearlySales', colnames, exdata)
fastinsert appends the data as a new record at the end of the yearlySales table.
10
In Microsoft Access, view the yearlySales table to verify the results.
11
Close the cursor.
close(curs)
12
Continue with the next example (“Replacing Existing Database Data with Exported
Data” on page 6-21). To stop now and resume working with the next example at a
later time, close the connection.
close(conn)