Connect to Microsoft Azure SQL Database from MATLAB
Updated 29 Jan 2021
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
Kevin Chng (2023). 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 CompatibilityWindows macOS Linux
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.