mysql
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
Platform Compatibility
Windows macOS LinuxCategories
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!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |