I create a web app using web app compiler and run in MATLABwebapp Server.
  • As mentioned in documentation page 'Web apps are designed to run only within a trusted intranet environment, not in the open Internet'. How can i share this webapp to my colleagues within intranet? Kindly provide steps.
  • 'uigetfile' is also not supported. As in my app image is input from user. Kindly provide me some alternative of 'uigetfile' so that i can easily take input image from user.

 Réponse acceptée

Kojiro Saito
Kojiro Saito le 27 Mar 2018

2 votes

  • After installation of MATLAB Web App Server and configuration of MATLAB Web App Server are done, you just need to put your CTF file (Web App package) in the application folder of MATLAB Web App Server. You can know the folder by "Open App Folder" in MATLAB Web App Server. Then, just share the URL of Web App to your colleagues. By default, it is http://HOSTNAME:9988 where HOSTNAME is a hostname of your server. Your colleagues can access to your Web App by web browser.
  • Yes, as of R2018a, uigetfile is not supported. Simple work around would be the following.
- Users transfer image file from their PC to the some location of the server by FTP Client, then in your Web App, you can access to the image files.
Hope this help.

6 commentaires

James Ang
James Ang le 19 Juin 2018
hi, I created a web server with this hostname: http://james-t4702:9988/webapps/home/ but my colleagues could not access into it. how can I share it with them?
I think there would be two reasons.
From your colleagues, is hostname "james-t4702" resolved?
ping james-t4702
will return collect IP address from terminal (command prompt) of colleagues machines?
Does Firewall of your machine allow port 9988?
James Ang
James Ang le 2 Juil 2018
yup, the firewall blocked the port. Now it works. Many thanks Kojiro.=)
Kevin Chng
Kevin Chng le 15 Oct 2018
Hi Kojiro Saito,
May i ask you a question here?
Although you can upload and download files from a local system in a deployed web app using uigetfile and uiputfile, you cannot download files while an external application is writing them. Opening a folder selection dialog box on the client using uigetdir is not supported.
I saw the above sentence in MATLAB documentation, i'm not sure what does it mean? Is uigetfile and uiputfile supported now? But when i try to compile an apps with uigetfile, the web app server will not recognize it as web app.
Kevin Chng
Kevin Chng le 15 Oct 2018
Modifié(e) : Kevin Chng le 15 Oct 2018
I have checked it out. It is supported in 2018b. However,uigetfile is not working in google chrome, but it is working for Internet Explorer.
DONY DARMAWAN PUTRA
DONY DARMAWAN PUTRA le 19 Oct 2020
Hi Kojiro Saito
Your statement in below does not work. I am using Matlab 2018b. I can open my Web app in my browser, but It does not work when I share my link. Please help me :)
  • After installation of MATLAB Web App Server and configuration of MATLAB Web App Server are done, you just need to put your CTF file (Web App package) in the application folder of MATLAB Web App Server. You can know the folder by "Open App Folder" in MATLAB Web App Server. Then, just share the URL of Web App to your colleagues. By default, it is http://HOSTNAME:9988 where HOSTNAME is a hostname of your server. Your colleagues can access to your Web App by web browser.

Connectez-vous pour commenter.

Plus de réponses (1)

Udo Schröder
Udo Schröder le 16 Avr 2018

1 vote

Could you please tell me how I can then access the uploaded file? I have the same issue.
Will uigetfile be supported in the future?

1 commentaire

Kevin Chng
Kevin Chng le 15 Oct 2018
Hi
i just tried it. It is supported in 2018b

Connectez-vous pour commenter.

Catégories

En savoir plus sur MATLAB Web App Server dans Centre d'aide et File Exchange

Produits

Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by