How to run a .exe file in other computers without Matlab?
5 ビュー (過去 30 日間)
Same old question, but what I want to know is if there is a way to include the necessary files in the same .exe so any computer (even if not having matlab or software needed) can run the program.
Maybe automatically putting necessary files temporary as the program is used and then remove them?. Otherwise I'm getting this error.
回答 (2 件)
Image Analyst 2022 年 6 月 24 日
I don't think so because the library is so huge. It's up to 3.6 GB now. I don't think a 3.6 GB executable would be good. So they just need to install the MCR once, and then you can deploy your app over and over again with new features without them having to install the MCR all the time (which can take a long time).
Walter Roberson 2022 年 6 月 24 日
https://www.mathworks.com/products/compiler/matlab-runtime.html has links to download mcr 8.5 (R2015a)
In https://www.mathworks.com/matlabcentral/answers/440034-how-can-i-embed-mcr-in-an-executable-file#comment_661077 Adam wrote,
If you are using the Matlab Compiler App there is an option in the GUI in the top right as to whether to build with or without including the MCR, but it will still be an installer that you would create that will wrap these together.