From: Luna Moon on 1 Mar 2010 09:42 >> cc=database('MyDatabaseName', 'MyUserName', 'MyPassword') cc = Instance: 'MyDatabaseName' UserName: 'MyUserName' Driver: [] URL: [] Constructor: [1x1 com.mathworks.toolbox.database.databaseConnect] Message: [1x91 char] Handle: 0 TimeOut: [] AutoCommit: 'off' Type: 'Database Object' >> cc.Message ans = [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
From: Oleg Komarov on 19 Mar 2010 13:29 Luna Moon <lunamoonmoon(a)gmail.com> wrote in message <5983d1f1-1c84-4fcd-89a9-06f6ad4022df(a)e23g2000yqd.googlegroups.com>... > >> cc=database('MyDatabaseName', 'MyUserName', 'MyPassword') > > cc = > > Instance: 'MyDatabaseName' > UserName: 'MyUserName' > Driver: [] > URL: [] > Constructor: [1x1 com.mathworks.toolbox.database.databaseConnect] > Message: [1x91 char] > Handle: 0 > TimeOut: [] > AutoCommit: 'off' > Type: 'Database Object' > > >> cc.Message > > ans = > > [Microsoft][ODBC Driver Manager] Data source name not found and no > default driver specified You should first configure an odbc connection or you can use a jdbc driver. Oleg
|
Pages: 1 Prev: Simulink Simulation Duration Next: Rename activex controls |