필터 지우기
필터 지우기

Running MATLAB Programs on a webpage

조회 수: 25 (최근 30일)
Erik Skorina
Erik Skorina 2011년 6월 15일
댓글: Walter Roberson 2024년 3월 22일
I have a Matlab program for image analysis that I need to be able to be run on a website, allowing the general public without matlab to be able to use it.
What would be the best way to go about this? Can I have the server, which will have Matlab, run the code using an uploaded image and display the output to the user?
Thank you for your time, Erik Skorina

답변 (5개)

Chirag Gupta
Chirag Gupta 2011년 6월 15일
There are a couple of MATLAB products that are useful for the same. In addition with the MATLAB Compiler as mentioned above by Julian, you could also use MATLAB Builder JA (Java) or Builder NE (.NET) to serve webpages.
  댓글 수: 1
Kaustubha Govind
Kaustubha Govind 2011년 6월 15일
In particular, the WebFigures features might be of interest to you: http://www.mathworks.com/help/toolbox/dotnetbuilder/ug/brpoekx-2.html

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


Julian
Julian 2011년 6월 15일
It is easiest to share your analysis results from MATLAB via a web-page by using the Publish feature with the output sent to or copied onto a web server. Although this may not be quite the dynamic analysis that you would like - it probably requires your assistance for each update!
If you have the MATLAB compiler you can build a cgi script as described here http://www.mathworks.com/support/solutions/en/data/1-30REEY/?solution=1-30REEY although in my opinion MATLAB is somewhat heavy to be used in this way.

Daniel Shub
Daniel Shub 2011년 6월 15일
Running MATLAB from a webpage in a general sens is hard. Using MATLAB on the backend should be much easier. I would not have MATLAB display the image to the user, rather I would have MATLAB create an image file an let the webpage display that to the user.
Upload image > process with MATLAB > MATLAB creates image file > display new image file
  댓글 수: 2
Adnan Firoze
Adnan Firoze 2016년 3월 20일
Hi,
This is exactly what I am trying to do. Could you please provide some more details on how this could be done or point me to a demo in the File Exchange?
Thanks so much.
Kiran Satish
Kiran Satish 2017년 10월 19일
편집: Kiran Satish 2017년 10월 19일
Hello Adnan,
Did you ever get this working? The work flow looks simple, but the second step in that is where everyone have questions about. Especially calling matlab from webserver, waiting for it to complete process.
thanks

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


Aashish Maheshwari
Aashish Maheshwari 2017년 12월 8일
편집: Aashish Maheshwari 2017년 12월 8일

You can use html and Javascript to access your matlab programs and display result in matlab browser. https://blogs.mathworks.com/community/2008/02/18/interactive-web-pages-in-matlab-part-2/


Huy
Huy 2024년 3월 22일
Using matlab software combined with javascript simulation to stabilize the 5-node power system
  댓글 수: 1
Walter Roberson
Walter Roberson 2024년 3월 22일
I do not understand how this solution will solve the original question?

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

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by