executable file without supporting file?

1 次查看(过去 30 天)
Hello Sir! I made an exe file in matlab 6.5 using mcc. It needs some dll files in the runtime, where matlab is not installed. I came to know that mglinstaller.exe is need to installed before executing the exe. But mglinstaller.exe needs user interaction in the time of installation. How all the supporting files, needs in runtime can be attached to the .m file before making .exe?

回答(3 个)

Bruno Luong
Bruno Luong 2011-1-29
You need to read the doc concerning deploying an application. First and foremost it requires to install the MCR (Matlab Component Runtime).

Brett Shoelson
Brett Shoelson 2011-2-8
When you build your application (using Deploytool, for instance), you will need to provide hard links to the supporting dll's. Then they'll be encapsulated with the deployed application. See the help for deploytool:
Cheers, Brett

Kaustubha Govind
Kaustubha Govind 2011-2-8
You can check the Embed the MCR in the package option in deploytool to include MCRInstaller in your executable.

类别

Help CenterFile Exchange 中查找有关 C Shared Library Integration 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by