mcc fails due to Java Null Pointer exception

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개)

카테고리

도움말 센터File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

질문:

2016년 2월 4일

편집:

2016년 2월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by