Export SAP2011 data to Matlab 64bit

THE FOLLOWING INSTRUCTIONS ARE FOR 64BIT MATLAB

All the mySQL tables generated by SAP2011 can be exported to Matlab 64bit.

1.  Place file mysql.mexw64 in c:\windows\system32 and c:\windows\SysWow64

2. Place file libmySQL.dll into c:\windows\system32

3. Run vcredist_x64.exe from here.

4. Start matlab and Set Path (or in older version File->Add Path): add c:\windows\system32, and c:\windows\sysWOW64;

That's it.

 

* If you want to calculate pitch in Matlab 64 bit using the yin algorithm, here is a compiled version

______________________________________________________________________________

Here is an example of script for exporting data from syllable tables created by SAP2011:

mysql('open', 'localhost','root', 'sap2011'); % connect to mySQL using the password sap2011 (or any other mySQL password in your system).

mysql('use sap');

duration=mysql('select duration from syll_table'); % retrieve the syllable duration data from a table called syll_table