Technical Solutions
What are my options for executing MATLAB scripts via the World Wide Web?
Date Last Modified: Friday, June 26, 2009
| Solution ID: |
|
1-WK5DJ |
| Product: |
|
MATLAB; MATLAB Compiler; MATLAB® Web Server; MATLAB Builder NE |
| Reported in Release: |
|
No Release |
| Fixed in Release: |
|
R2006a |
| Platform: |
|
All Platforms |
| Operating System: |
|
All OS |
Subject:
What are my options for executing MATLAB scripts via the World Wide Web?
Problem Description:
I would like to execute my MATLAB scripts via the Internet.
Solution:
There are several options for executing MATLAB programs over the web. The options available to you depend upon your license type and MATLAB version.
One option is to deploy a compiled application on your web server. Any application compiled with any version of MATLAB Compiler, MATLAB Builder for .NET or MATLAB Builder for COM can be deployed on a web server. For more information on how to do this see the Related Solutions below.
Starting with MATLAB 7.3 (R2006b), users who have concurrent or individual “designated computer” licenses are allowed to write Common Gateway Interface (CGI) scripts to access the MATLAB Engine API. With a designated computer license, each MATLAB license may only be installed on a single computer, and accessed by users at the console, but not over the network. For more information about the MATLAB Engine API please consult the chapter titled "Calling MATLAB from C and Fortran Programs" in the External Interfaces documentation of MATLAB. http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_external/f38569.html
For users with MATLAB 7.2 (R2006a) or earlier versions of MATLAB, this option was expressly prohibited by the MATLAB license agreement. For complete information you can view the license agreement by typing the following command in MATLAB:
edit(fullfile(matlabroot,'license.txt'))
Previously MATLAB Web Server was available to create MATLAB applications that use the capabilities of the web to send data to MATLAB for computation and to display the results in a web browser. For MATLAB 7.2 (R2006a) or earlier versions of MATLAB you needed to purchase MATLAB Web Server from The MathWorks to run scripts in MATLAB via the web. This product is no longer available. See the R2006b MATLAB Web Server notice below for more information.
For more information about web deployment please see the following tech note: http://www.mathworks.com/support/tech-notes/1600/1608.html
|
Related Documents/Files:
Related Solutions: