Why can't I initialize the MATLAB Engine in MATLAB 7.7 (R2008b)?
Show older comments
When I execute the following in my C/C++ code, I get a NULL pointer as a result:
ep = engOpen("\0");
When I run the function GETMATLABDEFAULTSERVER from the solution 1-6JHG55, I get the following output:
The default MATLAB Automation Server on this machine is:
ProgId: Matlab.Application (Version 7.7)
LocalServer32: C:\MATLAB\R2008b\bin\win32\MATLAB.exe /MLAutomation
CLSID: {3A579EB9-8A43-4022-A1AF-4C13DDEC4079}
File exists: 'C:\MATLAB\R2008b\bin\win32\MATLAB.exe'
So MATLAB seems to be registered correctly as an automation server. What could be the problem?
Accepted Answer
More Answers (0)
Categories
Find more on ActiveX in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!