From: Chris on
I know this is a long shot but thought I'd ask anyway.

In Matlab, is there a way to convert a Microsoft .NET System.Data.SqlClient.SqlConnection to a Database Toolbox connection?
I would like do a Database Toolbox fetch on a System.Data.SqlClient.SqlConnection connection.

Example:

conn = System.Data.SqlClient.SqlConnection('Data Source=server;Initial Catalog=database;Integrated Security=true');
cellArray = fetch(conn, 'select * from table');


Thanks