Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

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

조회 수: 4 (최근 30일)
Davis
Davis 2013년 7월 24일
마감: MATLAB Answer Bot 2021년 8월 20일
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)]

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by