Filter löschen
Filter löschen

How to deploy a web app with database connection ?

8 Ansichten (letzte 30 Tage)
Hafidh Azmi Samhari
Hafidh Azmi Samhari am 3 Mär. 2019
Beantwortet: Hans Nerlich am 12 Jun. 2023
Im trying to create a web app that has an ODBC database connection in it, when i try to run it on a browser, it gets error on the line that has the code to connect the database. Any suggestion on how to deploy matlab web app with database connection ?
im using matlab r2018b, matlab web app server, app designer, and ms acces to make the project.

Antworten (2)

HimeshNayak
HimeshNayak am 16 Mär. 2023
Hi Hafidh
As per my understanding you want to deploy a MATLAB Web Application that is connected to an ODBC Database.
ODBC database connection functionality was introduced in R2021a. I would suggest you update MATLAB to version R2021a or above.
Following are some documentations that you can go through for the same.
Create an ODBC Database Connection
Deploy a Web Application
You have mentioned that you have received an error while connecting to the database. Could you share the relevant files and reproduction steps for better understanding of the question?
Regards
HimeshNayak

Hans Nerlich
Hans Nerlich am 12 Jun. 2023
I have the same probleme,
I do not find stuff to connect with odbc, but here is a post using jdbc for that:
https://de.mathworks.com/matlabcentral/answers/1657725-how-do-i-connect-to-an-ms-sql-database-through-jdbc-in-a-deployed-web-app

Kategorien

Mehr zu MATLAB Web App Server finden Sie in Help Center und File Exchange

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by