Matlab Compiled Jar Including Symbolic Math Engine Toolbox
1 view (last 30 days)
Show older comments
I am using the Matlab compiler to make a library jar of a set of scripts. When I use the jar the processing halts midway and I see
Undefined function or variable 'symengine'.
dependencies.toolboxDependencyAnalysis({'myscript.m'})
Warning: Cannot analyze code generation dependencies because Simulink Coder is not installed
ans =
'MATLAB'
This implies that the only dependency is MATLAB. What's more is that I ran the script directly in an interpreter on another machine which does not have the Symbolic Math Toolbox and it runs perfectly. I do know that the machine which I'm using to compile the script does have the Symbolic Math Toolbox so I'm wondering if it's being linked into the jar somehow.
Versions of the machine with the compiler
----------------------------------------------------------------------------------------------------
MATLAB Version: 8.3.0.532 (R2014a)
MATLAB License Number: redacted
Operating System: Linux 2.6.32-573.1.1.el6.x86_64 #1 SMP Tue Jul 14 02:46:51 EDT 2015 x86_64
Java Version: Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
----------------------------------------------------------------------------------------------------
MATLAB Version 8.3 (R2014a)
Simulink Version 8.3 (R2014a)
Communications System Toolbox Version 5.6 (R2014a)
Control System Toolbox Version 9.7 (R2014a)
DSP System Toolbox Version 8.6 (R2014a)
Image Processing Toolbox Version 9.0 (R2014a)
MATLAB Builder JA Version 2.3.1 (R2014a)
MATLAB Compiler Version 5.1 (R2014a)
MATLAB Report Generator Version 3.16 (R2014a)
Optimization Toolbox Version 7.0 (R2014a)
Parallel Computing Toolbox Version 6.4 (R2014a)
Signal Processing Toolbox Version 6.21 (R2014a)
Simulink Control Design Version 4.0 (R2014a)
Stateflow Version 8.3 (R2014a)
Statistics Toolbox Version 9.0 (R2014a)
Symbolic Math Toolbox Version 6.0 (R2014a)
Versions of the machine without the compiler
>> ver
----------------------------------------------------------------------------------------------------
MATLAB Version: 8.3.0.532 (R2014a)
MATLAB License Number: redacted
Operating System: Microsoft Windows 7 Enterprise Version 6.1 (Build 7601: Service Pack 1)
Java Version: Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
----------------------------------------------------------------------------------------------------
MATLAB Version 8.3 (R2014a)
Simulink Version 8.3 (R2014a)
Communications System Toolbox Version 5.6 (R2014a)
Control System Toolbox Version 9.7 (R2014a)
DSP System Toolbox Version 8.6 (R2014a)
Image Processing Toolbox Version 9.0 (R2014a)
MATLAB Report Generator Version 3.16 (R2014a)
Parallel Computing Toolbox Version 6.4 (R2014a)
Signal Processing Toolbox Version 6.21 (R2014a)
Simulink Control Design Version 4.0 (R2014a)
Stateflow Version 8.3 (R2014a)
Statistics Toolbox Version 9.0 (R2014a)
0 Comments
Answers (1)
See Also
Categories
Find more on Manage Products in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!