How to deploy a web app with database connection ?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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.
0 comentarios
Respuestas (2)
HimeshNayak
el 16 de Mzo. de 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
0 comentarios
Hans Nerlich
el 12 de Jun. de 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
0 comentarios
Ver también
Categorías
Más información sobre MATLAB Web App Server en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!