How can I compile a standalone version, which supports graphic objects without a full desktop?
Show older comments
I have created as follows a standalone version of a m-file:
mcc -m -v -R '-nodisplay,-nojvm,-singleCompThread' calibration.m
This standalone version was subsequently submitted as a job on a HPC (Linux-Environment).
The following error message was written to error.dat:
Error using figure
This functionality is no longer supported under the -nojvm startup option. For more information, see "Changes to -nojvm Startup Option" in the MATLAB Release Notes. To view the release note in your system browser, run web('<http://www.mathworks.com/help/matlab/release-notes.html#btsurqv-6'>, '-browser').
So I've tried to create a standalone version without nojvm (like: mcc -m -v -R '-nodisplay,-singleCompThread' calibration.m), but the following error message appeared (after executing the job):
Can't load '/usr/site/hpc/x86_64/generic/matlab/R2017a/bin/glnxa64/libmwstrfun.so': /usr/site/hpc/x86_64/generic/matlab/R2017a/bin/glnxa64/libmwstrfun.so: failed to map segment from shared object: Cannot allocate memory
/usr/sge/leo3e/spool/n001/job_scripts/602568: line 8: 4522 Aborted (core dumped) ./calibration
Has anyone an idea how to compile a standalone version, which also supports the figure commands and creates figures?
Answers (1)
Categories
Find more on Startup and Shutdown 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!