How to run standalone .exe file on computer without MATLAB?
Show older comments
Hello all,
I am trying to run a standalone application (.exe) on a computer which doesn't have matlab. I have installed matlab compiler runtime on my computer which has matlab. Now I want to deploy the standalone application to other computers which doesn't have matlab. I have used the deploy tool, but i am not sure how to deploy the whole package to other computers including Matlab compiler runtime.
can anyone please help me out.
Answers (3)
Walter Roberson
on 6 Apr 2011
0 votes
The deploy tool creates a self-extracting archive, and I believe (but am not sure) that MCR comes in the form of a self-extracting archive as well. Copy both to the new machine, install MCR, run the self-extracting archive which is the application, run the application, watch it crash, go back to the original machine and try to figure out why. Lather, rinse, repeat.
Jiro Doke
on 6 Apr 2011
0 votes
In deploytool, you should see a tab called "Package". There, you can include the MCR and package it (by clicking on the package button in the toolbar). That would create a single installer file which you can run on the other computers.
8 Comments
sandeep
on 6 Apr 2011
Walter Roberson
on 6 Apr 2011
You will not be able to run the standalone executable without installing MCR.
Once MCR is installed, there is a _chance_ that your standalone executable will work.
sandeep
on 6 Apr 2011
Walter Roberson
on 6 Apr 2011
Now is the time to refer to the link I recommended you bookmark.
sandeep
on 6 Apr 2011
Walter Roberson
on 6 Apr 2011
I don't think I know anything about missing export functions.
You should look at the output and find the dependency module it indicates as being not found, and post that information.
sandeep
on 6 Apr 2011
Walter Roberson
on 6 Apr 2011
Edited: Walter Roberson
on 9 Sep 2017
The following discussion might help:
mukul jain
on 9 Sep 2017
0 votes
Hello sir I need a matlab complier runtime software of version 7.16.I search everywhere but this is not find
1 Comment
Walter Roberson
on 9 Sep 2017
You need to get that MCR version from the person who build the application. MCR 7.16 was the last MCR under the older license that did not allow MCR to be easily downloaded.
Categories
Find more on Introduction to Installation and Licensing 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!