필터 지우기
필터 지우기

Matlab builder NE problem

조회 수: 6 (최근 30일)
jobormo
jobormo 2011년 7월 8일
Hi,
I'm having trouble using the corr2() function as part of a compiled Stand-Alone Application, where I have a .NET application where functions of a MATLAB Builder NE generated DLL are called.
There is absolutely nothing wrong with the code because it works perfectly as an .m file. If I run the .exe aplication on my computer it works great, the problem is when I run it in other computer, without matlab, but with the MCR installed. I have a 64-bit machine, while the other computer is a 32-bit machine.
here is the problem:
Undefined function or method 'iptcheckinput' for input arguments of type 'cell'. error in corr2> ParseInputs
Thanks in advance.
Jobormo.

채택된 답변

Friedrich
Friedrich 2011년 7월 8일

추가 답변 (2개)

Friedrich
Friedrich 2011년 7월 8일
Which bitness has the .NET DLL you compiled? It must be a 32bit ML used to make a .NET DLL which can run on a 32bit System. Since you are on 64bit Windows, which is the ML version you are using? Since installing 32bit ML on 64bit machine is supported with R2010b and higher:
I had some issues with 32bit ML Compiler/Builder on 64bit Windows when using an older version as R2010b.
Even .NET allows you to compile an exe as “Any CPU” doesn’t mean that the ML generated .NET DLL is able to handle “Any CPU”. Sine the MWARRAY Class is a wrapper class for the MXArray API it is strongly bitness dependent.
  댓글 수: 2
jobormo
jobormo 2011년 7월 8일
In my computer, 64-bit machine, which is the .NET DLL i compiled, and I am using a Matlab R2010b, and the other computer which is a 32-bit machine runs with MCR v7.14
and .NET i compile using "Any CPU".
Friedrich
Friedrich 2011년 7월 8일
Thats why it wont work. You have to use a 32bit ML in order to compile a .NET DLL which can run on a 32bit machine.

댓글을 달려면 로그인하십시오.


jobormo
jobormo 2011년 7월 8일
first of all thx! I saw it and I did not embed the CTF and still doesn't work :( I also export MCR_CACHE_ROOT=$TMPDIR and still doesn't work :(

카테고리

Help CenterFile Exchange에서 Deploy to .NET Applications Using MWArray API에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by