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.

 Respuesta aceptada

Kojiro Saito
Kojiro Saito el 27 de Mzo. de 2018

2 votos

  • 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 comentarios

James Ang
James Ang el 19 de Jun. de 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?
Kojiro Saito
Kojiro Saito el 19 de Jun. de 2018
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 el 2 de Jul. de 2018
yup, the firewall blocked the port. Now it works. Many thanks Kojiro.=)
Kevin Chng
Kevin Chng el 15 de Oct. de 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 el 15 de Oct. de 2018
Editada: Kevin Chng el 15 de Oct. de 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 el 19 de Oct. de 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.

Iniciar sesión para comentar.

Más respuestas (1)

Udo Schröder
Udo Schröder el 16 de Abr. de 2018

1 voto

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 comentario

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

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB Web App Server en Centro de ayuda y File Exchange.

Productos

Versión

R2018a

Preguntada:

el 27 de Mzo. de 2018

Comentada:

el 19 de Oct. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by