Object returned error code: 0x80131515
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I'm trying to create an activex control through matlab:
- ctrl = actxcontrol('MatlabSdmPlugin');
Now the control actually does launch and load okay and the buttons and other parts of the control function as expected....but matlab prints this message:
- Error using feval
- Error: Object returned error code: 0x80131515
- Error in actxcontrol
- Error in actxcontrol
This error message prevents me from saving a handle to the control for later use which is necessary for my scripts. Searching online I can see other people in non-matlab applications that get the full error message which gives them a clue as to what is going on ex:
* Could not load file or assembly 'file:///L:\Api\Release API_20100521.1\Release\CS.API.Exceptions.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
So is there any way in matlab to get a full stack trace/error message of what is causing this error code? It seems very naive of matlab to strip out the most important information about this error.
Other research I've done for error code 0x80131515 on my own points to these possible problems but I dont really see how I could verify without knowing the full message:
- dependencies missing
Since the control loads fine i'm inclined to believe this isn't the case.
- dependencies on a network drive
I'm building the control on the same computer as the matlab install. There are no network dependencies referenced from the control, all dependencies sit next to the control dll in the same directory. The control does allow users to interact with web pages.
- dependencies blocked.
Possible, I've checked the directly referenced dependencies and they are all unblocked. However it is possible a sub-dependency is blocked.
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Use COM Objects in MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!