mcc fails due to Java Null Pointer exception

2 ビュー (過去 30 日間)
Jarrod Martin
Jarrod Martin 2016 年 2 月 4 日
編集済み: Jarrod Martin 2016 年 2 月 4 日
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 件)

カテゴリ

Help Center および File ExchangeC Shared Library Integration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by