mysql

Version 1.0.0.0 (1.43 KB) by Jozef
very simple mysql class file for working with mysql databases.
1.2K Downloads
Updated 11 Jul 2009

View License

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 (2024). mysql (https://www.mathworks.com/matlabcentral/fileexchange/24703-mysql), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Acknowledgements

Inspired: Database project of Attendence system

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0