mcc fails due to Java Null Pointer exception
조회 수: 2 (최근 30일)
이전 댓글 표시
Building on Matlab 2014b installed on Suse Linux I've created a trivial test program ftest.m:
display('hi\n');
when I try and compile that script I get the following error
mcc -m ftest
Error using matlab.depfun.internal.Completion/requiredProducts (line 351)
Java exception occured
java.lang.NullPointerException
at
com.mathwoks.install.InstalledProductFactory$1.execute(InstalledProductFactory.java:56)
<Snip>
Error using mcc
Error executing mcc, return status =1 (0x1)
Based on another forum post I tried using the older version of depfun setenv('MCC_USE_DEPFUN','1'); When I do that I get a different error set of warnings / errors
Warning: an error occurred while parsing class ......
Invalid data type
Invalid superclass handle
Depfun error: The specified superclas 'coder.oneclick.TargetHook' contains a parse error, cannot be found on MATLAB search path or is shadowed by a file with the same name.
Compiling works just fine under Windows, how do I get it to work under Linux?
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 C Shared Library Integration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!