Clear Filters
Clear Filters

executable file without supporting file?

1 view (last 30 days)
raktim banerjee
raktim banerjee on 29 Jan 2011
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?

Answers (3)

Bruno Luong
Bruno Luong on 29 Jan 2011
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 on 8 Feb 2011
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 on 8 Feb 2011
You can check the Embed the MCR in the package option in deploytool to include MCRInstaller in your executable.

Categories

Find more on C Shared Library Integration in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!