1、Run the prefdir command in the Command Window. The output of this command is a file path to a folder on your computer. 2、Close MATLAB® if it is running. 3、Navigate to the folder and create a file called javaclasspath.txt in the folder. 4、Open javaclasspath.txt. Add the full path to the database driver JAR file in javaclasspath.txt. The full path includes the path to the folder where you downloaded the JAR file from the database provider and the JAR file name. For example, C:\DB_Drivers\mysql-connector-java-5.1.17-bin.jar. Save and close javaclasspath.txt. 5、Restart MATLAB.





'Vendor','MySQL',...
'Server','sname');
文章转载自白日翀举,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




