Exclude packages from MCR
显示 更早的评论
I am building a standalone app from Matlab scripts for PC's without an installed version of Matlab. Therefore, I included the MCR in the deploy tool. However, I don't like the size my standalone app including the MCR package. Is there any way to exclude functions etc. from the MCR which I don't need for my standalone app?
采纳的回答
更多回答(1 个)
Image Analyst
2016-7-25
0 个投票
Yes. Just don't include the MCRInstaller bundled into your app. Just have your app alone. Let the user get the MCR from the web site themselves, or you can ship it as a separate installer (like I do). No sense hauling around 800 MB of excess baggage when your app would otherwise only be a 10 MB app. If you use deploytool, I think there's an option for telling it how to include or exclude the MCRInstaller.
类别
在 帮助中心 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!