Connect to Microsoft Azure SQL Database from MATLAB

(1) SQL Authentication (2)Azure Active Directory
Updated 29 Jan 2021

View License

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 (, MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Update Required Toolboxes