Error when running Matlab executable on a PC with two Compiler Runtime versions
조회 수: 4 (최근 30일)
이전 댓글 표시
I have a pc that runs an application calling a Matlab dll using 'Matlab Compiler Runtime 8.0' (2012b). Now I need to run a Matlab exe file on the same computer, but this one needs 'Matlab Runtime 9.0.1' (2016a). So I installed this runtime and tried to the run the execuatble. Now I get the following error:
Undefined function or variable 'imfilter_mex'
Now, when deinstall both runtimes, restart the PC and then only install 'Matlab Runtime 9.0.1', the executable could be run without any problems. When I subsequently install 'Matlab Compiler Runtime 8.0' again, running the executable fails again. Most surprisingly, when repeat the cycle of deinstalling both runtimes and installing only 'Matlab Runtime 9.0.1' again, I keep on getting the error message whatever I am doing.
Could you please help me tackle this issue? Thanks in advance!
댓글 수: 4
Kevin Chng
2018년 10월 24일
How do I go to the environment variables? And on which machine, the source machine with Matlab installed or the target machine without Matlab installed? Then, how to change the path?
1) google - how to get environment variables in window. after that, click on path, change the path here. There is some video explaining it in better way.
2) MCR should be installed in the target machine without MATLAB installed.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!