Why do I receive the following error: Could not find file '..\Manage​dCPPAPI.ne​tmodule' in MATLAB Builder NE 2009b?

조회 수: 1 (최근 30일)
I wrote a MATLAB function that I am deploying as a .NET assembly to a web server. I am running on Microsoft Windows Server 2003. Everything works fine on the development machine. When I move to another machine with the same configuration, the .NET assembly doesn't work, even though I just installed MCR on that machine. Instead, I get the following error:
Error 1 Unable to copy file "..\MatlabLib\ManagedCPPAPI.netmodule" to "bin\Debug\ManagedCPPAPI.netmodule". Could not find file '..\MatlabLib\ManagedCPPAPI.netmodule'. TestingMatlab.NET

답변 (1개)

Sanchali Purandare
Sanchali Purandare 2011년 1월 16일
Since you just installed the MCR on the target machine, you need to restart that machine for all the changes to the system environment (PATH variable) to propagate to the IIS server.

카테고리

Help CenterFile Exchange에서 Call Web Services from MATLAB Using HTTP에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by