mcc fails due to Java Null Pointer exception
2 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on C Shared Library Integration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!