I am trying to control a Matlab COM server object from
perl but am running into some problems. When I try to
create the server object using the following code:
I get the error message:
Win32::OLE(0.1008) error 0x80040111: "ClassFactory
cannot supply requested class"
Now the interesting thing is that if I try to launch
Word I can create the COM object successfully. Also,
I am pretty sure that when I tried a week ago I was able to also create the matlab COM server object successfully at
least once. In OLE/COM Object Viewer I also get a
similar error when I try to create an instance of
matlab:
CoGetClassObject failed.
I tried reinstalling matlab multiple time to no avail. I looked at the registry entries and it seems like the registry keys that would be required to locate the matlab server are all there.
What makes is stranger is that I was just able to create a matlab server object from C++ code.
Any help would be greatly appreciated.
Rich