How to package MCR with compiled program?
2 次查看(过去 30 天)
显示 更早的评论
I've recently compiled a MATLAB program for distribution. I'd selected "Runtime downloaded from web". I know the .exe is located in "for_redistribution_files_only", but it does not seem to install MCR 8.3 for the end user. Do I need to direct my end users to the Mathworks website to download MCR, or is there a way to package it in the .exe?
0 个评论
回答(2 个)
Adam
2014-8-1
You need the installer, rather than the .exe. I think this is located in the 'for_redistribution' folder instead.
2 个评论
Adam
2014-8-1
I'm not sure what that message means. When I try it I already have the runtime installed so it tells me that and I can't test what happens if I don't have it installed (I don't want to uninstall it).
You can package the MCR into the installer though if you tick the "Runtime included in package" option instead of "Runtime downloaded from web".
Image Analyst
2014-8-2
I recommend you ship the MCRinstaller.exe and your app separately. The MCRInstaller is huge, like >500+ MB, while your app is probably less than 10 MB or so. If you ship upgrades (minor tweaks, bug fixes, etc.) why ship the whole huge MCR with it when they've already installed it once. All they need to do is install your app, not the MCR again, so why ship it?
0 个评论
另请参阅
类别
在 Help Center 和 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!