From: Anirudh Chaturvedi on 5 May 2010 18:11 Hi, I have created a GUI in matlab which plays four movies by clicking 4 different buttons. Now I need to make this GUI independent of Matlab and put it in an HTML page. Can I do this ? If Yes, could please explain how.
From: Walter Roberson on 5 May 2010 19:02 Anirudh Chaturvedi wrote: > I have created a GUI in matlab which plays four movies by clicking 4 > different buttons. Now I need to make this GUI independent of Matlab and > put it in an HTML page. Can I do this ? If Yes, could please explain how. I suspect that you could not do it without trouble. In general, Yes, it is possible to process Matlab code into an executable, and it is possible to arrange for a web server to start that executable when a particular URL was requested. However: - you need to purchase the Matlab deployment tool, which they refer to as the Compiler toolbox (but it isn't really a compiler.) - if the web page is to be accessible to the public, then you need to have a Network License, which costs a fair bit more than regular Matlab. The technology of the deployment tool does not check for this: this restriction is written in to the license agreement. The license agreement also indicates that if the web page is only to be accessible to your own organization, then it is not necessary to have a Network License - the hardest part is that the movie players provided with Matlab are not designed to be used over the network: they are designed for local graphics or at most for use with X Windows. X Windows does inherently support network access, but it was not designed with streaming video in mind -- and your users are relatively unlikely to have X Windows available to them anyhow. (X Windows is built in to Linux and Mac OS X and to SunOS, but it is not built in to any version of MS Windows. There are commercial implementations of X Windows for MS Windows, but even after decades of development they tend to have major bugs. X Windows is also available free for MS Windows, but only as part of Unix emulation packages, and getting those packages running takes either good Unix experience or a really really good tutorial.) Thus, to do this project could require a considerable expense, and is likely to be unusable at all to most viewers (unless they go through a bunch of trouble), and is likely to be of poor quality to the rest... if it works at all. It would probably be a LOT easier if you converted the movies into one of the common movie file formats, and wrote some HTML that triggered sending the appropriate file to the user, relying on the user's existing video player. This approach would not require Matlab at all.
|
Pages: 1 Prev: HELP!!! lsqnonlin fitting problem Next: variable dependency debugging tool |