May 24th, 2008, 12:15 pm
humtumiit, if you want to do it from VC++, then I propose you to connect to your database through ODBC using libodbc++. This is also what I do.After the extraction and making some preprocessing you may put the data towards to MATLAB using the MEX functionalities.However, if you really need the data in MATLAB, then it is better to do the preprocessing in Java, since there the JDBC is built-in and you can use the Java beans in MATLAB directly, which means there is no need to write wrappers using MEX.