This works fine in the App Designer. Next, I compiled my GUI to a Matlab Web App. No error occurred during the compilation. However, an error is thrown during the runtime of the web app.
The error occurs when I try to connect to the database. I suspect that I need to somehow add the interface for MongoDB into the package to compile. But I have no idea how to do that, because only a mongodb.mlpkginstall can be downloaded in the file exchange.
Does anyone have any idea where the problem comes from and how to solve it?
Thank you all in advance!!!!
Here the simple code:
server = "126.96.36.199";
app.conn = mongo(server,port,dbname);
In the Web App I got the following error message:
line 65 in my web app is app.conn = mongo(server, port, dbname)