Technical Solutions
Why is my ASP application unable to start MATLAB 7.6 (R2008a) as a COM Automation server?
Date Last Modified: Friday, June 26, 2009
| Solution ID: | 1-6FQK77 | |
| Product: | MATLAB | |
| Reported in Release: | R2008a | |
| Platform: | Windows | |
| Operating System: | Windows Any |
Subject:
Why is my ASP application unable to start MATLAB 7.6 (R2008a) as a COM Automation server?
Problem Description:
I receive an error when I try to use MATLAB as an Automation server from my ASP code.
The VB Code inside my ASP application:
Dim Matlab As MLApp.MLApp
Matlab = New MLApp.MLApp
Matlab.Execute("plot([0 18], [7 23])")
Matlab.Execute("enableservice('automationserver',true)")
I receive the following error:
Page_Error
Retrieving the COM class factory for component with CLSID
{491B6189-7E9D-43F4-A7DE-C062DF7B326E} failed due to the following
error: 80070005
Solution:Ensure that MATLAB can be started as a COM Automation server by first executing the following from within a MATLAB session: |
|
|
Store

