MCR
5 次查看(过去 30 天)
显示 更早的评论
HI,
Is it possible to ship two different MCR's into single setup.For example MCR 7.9 and MCR 7.14 into single setup file while compiling.
If possible, how?
Thanks!
0 个评论
采纳的回答
Walter Roberson
2011-12-7
While this might be technically possible, maybe, you are only permitted by license to distribute the MCR for programs you wrote and built, and no program can be built with multiple MCR versions.
What benefit do you see from putting two MCR in to a single setup file?
2 个评论
Walter Roberson
2011-12-14
You would not be able to call different versions of MCR from a single compiled exe, so bundling the two together is not going to help.
更多回答(2 个)
Robert Cumming
2011-12-7
I dont think its possible no. Why would you need to ship 2?
6 个评论
Robert Cumming
2011-12-16
exactly the point I was thinking Walter - they can coexist on the same target computer but your exe's wont be able to talk to each other.
Walter Roberson
2011-12-16
One could use system() to call the other, together with the -r flag to specify the work to do. The input data could be saved in a .mat file in the one and loaded in the other.
Image Analyst
2011-12-16
If you have two programs, each compiled with a different version of MATLAB that need to both be on the target computer, you can install both MCR's and they will peacefully coexist. You can do that separately, or you can have a master install program, like InstallShield, install both MCR's and any other installers you may have, all in one shot so the user only has to launch one installer.
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!