I need to kow the exact process for making a 2016 stand alone executable

2 views (last 30 days)
I created a 2016 stand alone executable on a prevou computer. I need to update this executable and it still needs to be able to run matlab 2016 or whatever compiler was being used, most likely it is a 2016 / 2014 compiler. I have not found a clear set of instructions that I use to create an executable for 2016a use. Everything I try I get a wide range range of errors for everthing I try.
Is there a clear step-by-step process whether its "how to check compilers", "What to install", ''follow these steps", etc, that can help me. I was able to do it 5 or 6 years ago, I just need to do it now.
Also,
when I type "ver" in the command line it does list a 2016a compiler. So, I am confused about why when I try to compile I get a "no compiler found" error
thanks
-john

Accepted Answer

Image Analyst
Image Analyst on 27 Jan 2022
You can use the mcc command.
mcc -m yourMFile.m
If you still have the R2016a version, use that. Otherwise use your current version and then make sure the target computer is 64 bit and has the Matlab compiler runtime installed that matches the version you're compiling with.

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!