Regarding Web App Compiler

5 views (last 30 days)
varinder kaur
varinder kaur on 27 Mar 2018
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.

Accepted Answer

Kojiro Saito
Kojiro Saito on 27 Mar 2018
  • 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 Comments
Kevin Chng
Kevin Chng on 15 Oct 2018
Edited: Kevin Chng on 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 on 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.

Sign in to comment.

More Answers (1)

Udo Schröder
Udo Schröder on 16 Apr 2018
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 Comment
Kevin Chng
Kevin Chng on 15 Oct 2018
Hi
i just tried it. It is supported in 2018b

Sign in to comment.

Categories

Find more on MATLAB Web App Server in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!