deploytool not working in -batch mode
显示 更早的评论
This works - Matlab opens, builds the installer, and exits:
matlab -nosplash -wait -r "deploytool -package myapp.prj; exit"
This does not - only the output file for_testing/spash.png is created:
matlab -batch "deploytool -package myapp.prj"
Tried with both R2019b and R2020a. The source file is an .mlapp package, if that makes a difference.
-----
After further testing, sometimes the first command also exits having only created for_testing/spash.png.
How to reliably build and package an app from the command line, without having to manually close Matlab afterwards?
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Troubleshooting in MATLAB Compiler SDK 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!