image thumbnail

Connect to Microsoft Azure SQL Database from MATLAB

version 1.0.1 (891 KB) by Kevin Chng
(1) SQL Authentication (2)Azure Active Directory

16 Downloads

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 (2021). 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
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!