Technical Solutions
How do I leverage the MATLAB Engine to deploy my MATLAB code over the web for an ASP.NET application using MATLAB 7.3 (R2006b)?
Date Last Modified: 29 Nov 2007
| Solution ID: | 1-3JJZWN | |
| Product: | MATLAB | |
| Reported in Release: | R2006b | |
| Fixed in Release: | R2007b | |
| Platform: | Windows | |
| Operating System: | Windows Any |
Subject:
How do I leverage the MATLAB Engine to deploy my MATLAB code over the web for an ASP.NET application using MATLAB 7.3 (R2006b)?
Problem Description:
I would like to deploy my MATLAB code over the web using an ASP.NET application, and would like to use the MATLAB Engine API. I would prefer to use an existing example as a template.
Solution:
This bug has been fixed in Release 2007b (R2007b). For previous product releases, read below for any possible workarounds: where mydirectory is the project directory in step 5. 9. Modify line 44 of peaksplot.aspx.vb to read: where mydirectory is the project directory in step 5. 10. Configure MATLAB for DCOM access using the following instructions: http://www.mathworks.com/support/solutions/data/1-1C50U.html?solution=1-1C50U Make sure you use the ProgID Matlab.Application.Single (version 7.0) for user ASPNET, with full launch and access permissions. 11. Test the application by selecting Debug->Start Without Debugging To test the application outside Microsoft Visual Studio you need to configure IIS so that the project folder is accessible and has the proper permissions for clients to run scripts and have write access. Additionally, you may need to configure IIS to use the proper version of ASP.NET. For more information on MATLAB web deployment, see Tech Note 1608: http://www.mathworks.com/support/tech-notes/1600/1608.html Note: The MathWorks does not provide technical support for Microsoft Visual Studio, Microsoft Internet Information Services (IIS) and can only provide assistance on how to use our products' API and the API for components created with our products. |
Related Documents/Files:
Related Solutions:
|
|
Store