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.

 채택된 답변

Kojiro Saito
Kojiro Saito 2018년 3월 27일

2 개 추천

  • 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

James Ang
James Ang 2018년 6월 19일
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 2018년 7월 2일
yup, the firewall blocked the port. Now it works. Many thanks Kojiro.=)
Kevin Chng
Kevin Chng 2018년 10월 15일
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 2018년 10월 15일
편집: Kevin Chng 2018년 10월 15일
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 2020년 10월 19일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Udo Schröder
Udo Schröder 2018년 4월 16일

1 개 추천

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

Kevin Chng
Kevin Chng 2018년 10월 15일
Hi
i just tried it. It is supported in 2018b

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 MATLAB Web App Server에 대해 자세히 알아보기

제품

릴리스

R2018a

질문:

2018년 3월 27일

댓글:

2020년 10월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by