MCC fails on unused toolboxes
이전 댓글 표시
I am trying to mcc compile a neuroimaging toolbox ("SPM12") into a standalone version.
The process fails with:
No licenses available for toolbox file 'toolbox/fixedpoint/fixedpoint/fi.m'. Compilation terminated.
We indeed do not have the Fixedpoint Toolbox, also we never used it. SPM also should not use/need it.
[fList, plist] = matlab.codetools.requiredFilesAndProducts('spm_make_standalone.m') %spm_make_standalone.m is the wrapper for the actual building
reveils:
#1 'MATLAB' '9.5' 1 true
#2 'Signal Processing Toolbox' '8.1' 8 true
#3 'Image Processing Toolbox' '10.3' 17 true
#4 'Statistics and Machine Learning Toolbox' '11.4' 19 true
#5 'Parallel Computing Toolbox' '6.13' 80 false
#6 'MATLAB Distributed Computing Server' '6.13' 94 false
#7 'Fixed-Point Designer' '6.2' 91 false
#8 'MATLAB Coder' '4.1' 135 false
#9 'Simulink' '9.2' 2 false
It seems that Matlab is not certain (column "certain" = false) with items 5-9. I also do not expect these toolboxes from the requirements of SPM. It may be called in some optional toolbox / code, but it is difficult to be certain.
Licenses are availble for the "core" toolboxes 1-4, but not for items 5-9
How can I request mcc to skip these likely unneeded toolboxes? I am happy with the code failing at execution with these unneeded toolboxes.
Or is it possible somehow to find out WHICH of the >1000 scripts actually use the offending toolboxes so that I could exclude these?
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!