Connect to Microsoft Azure SQL Database from MATLAB
As of Jan 2021, the proposed solution is working well to access Microsoft Azure SQL Database from MATLAB. Hopefully, this article helps you. We will begin with setting up Azure SQL Database in Microsoft Azure and later connect to Microsoft SQL database using Database Toolbox.
(1) Setting Up Microsoft Azure SQL Database
You may try Azure Directory Authentication if this part of your plan.
(2) Connect Microsoft Azure SQL Database from MATLAB using Database Toolbox
With SQL Authentication
(a) Connect from Database Explorer
(b) Connect from MATLAB programming
With Active Directory Username and Password
(a) Connect from MATLAB programming
Cite As
Kevin Chng (2024). Connect to Microsoft Azure SQL Database from MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/86543-connect-to-microsoft-azure-sql-database-from-matlab), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
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.