Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Trouble with Matlab Builder NE -- can't initialize MWArray types

1 Ansicht (letzte 30 Tage)
Davis
Davis am 24 Jul. 2013
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
I'm running VS10 and R2013a 32b and following the instructions given here (<http://www.mathworks.com/support/solutions/en/data/1-3NL1YX/index.htmlZ>) for using Matlab functions in c# projects, but my code breaks when I attempt to do anything with a MWArray object. If I try to do, say,
CellExampleclass obj = new CellExampleclass(); where CellExampleclass is a c# object designed with matlab builder NE, initialization of the MWArray objects fails and throws a type initialization exception, which states "Unable to load DLL 'mclmcrrt8_1.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"
naturally I've checked and mclmrrt8.dll is on my machine in the normal folder, and I've added the required references to my c# project.
any idea what could be going wrong here?
[clarification: I get the error when I try to access the CellExampleclass in my large project; if I make a fresh project, as done in the linked example, then there's no error... somehow there is an interaction between the matlab-generated objects and my extant project (visual stimulus for fish)]

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by