Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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

1 visualización (últimos 30 días)
Davis
Davis el 24 de Jul. de 2013
Cerrada: MATLAB Answer Bot el 20 de Ag. de 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)]

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by