mysql

very simple mysql class file for working with mysql databases.

You are now following this Submission

In m file just change line
obj.dbconn = database('name', 'user', 'password');
using your own data.

In main program just do connection = mysql.

Result = connection.execute('statement') executes any mysql statement and obtains data, if any, in variable result.

connection.tableExists('tableName') is true/false based on existence of the tableName in Mysql database.

Cite As

Jozef (2026). mysql (https://se.mathworks.com/matlabcentral/fileexchange/24703-mysql), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Database project of Attendence system

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0