Can MATLAB select few dll files instead of whole large MCR to run a executable program files using GUIDE?

3 次查看(过去 30 天)
I wrote a program a program usig the MATLAB GUIDE and its size is few KB. The program does a simple routine job. However to run the executable program file in a different computer which does not have MATLAB, it needs MATLAB runtime enviroment which has size around ~700 MB. Is there any way to select the necessary dll related to the program and run a executable file so that the size become few MB.
Regards,
Jaladhar

回答(1 个)

Thiago Henrique Gomes Lobato
Matlab kind of already does this in your executable file. If you, for example, try to compile some p-files it is possible that the compiled coded will not run because some used library was not recognized by the compiler and not imported in your program. The runtime environment is, on the other hand, necessary for every application, so there's no way to go around it. What you can do in order to keep the smaller file is to select the option to download the compiler online, so your distributed file will remain small and each person would be able to download the runtime by themselves.
  1 个评论
Jaladhar Mahato
Jaladhar Mahato 2020-3-17
Dear Thiago,
Thak you for your reply. I do know that I can keep my istaller file smaller by opting onlie compiler. However, the user need to download the big MATLAB runtime enviroment from online which I do not intend. Again, thank you for your reply.
Regards,
Jaladhar

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by