PREVIEW function in web application

조회 수: 1 (최근 30일)
Dipak
Dipak 2011년 8월 24일
I have just small question can the PREVIEW function (Preview of live video data) can be embedded or launched on a Web Application or not?

답변 (1개)

Friedrich
Friedrich 2011년 8월 24일
Hi,
I am not 100% sure if this works but I would try the following:
  1. use the preview command
  2. use figtoimstream to convert the preview figure to a byte representation (requieres MATLAB Compiler): http://www.mathworks.com/help/releases/R2011a/toolbox/compiler/figtoimstream.html
  3. pass this byte representation to the web application and display it in some form which is made for displaying images
Or when working with BUILDER products you could use a webfigure:
  댓글 수: 3
Friedrich
Friedrich 2011년 8월 24일
I think you won't be able to display the live preview on your webpage.
As far as I know: the above two ways are the only ways to embed a figure into a web application. So when using the preview command directly a figure window should pop up on the server machine => you won’t see anything back in the client webpage.
So no way to get a live preview on your webpage.
Jan
Jan 2011년 8월 24일
@Dipak: A definitely do not like to get questions from this forum by email. I spend enough time here and write a reply whenever possible.
Instead of sending a detailed email, it would be much more efficient to post the details here.

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

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by