About publishing stand-alone MATLAB executable

1 view (last 30 days)
Hello,
Thanks for your attention to my question.
Why MATLAB executables run much slower than their actual scripts in MATLAB environment? Being a little slower probably make sense, of course. For your information, I use below method of publishing the executables. https://www.mathworks.com/videos/getting-started-standalone-applications-using-matlab-compiler-100088.html
Is there a way to publish MATLAB executables which run really fast?
Best Regards,
Mehdi

Accepted Answer

Walter Roberson
Walter Roberson on 9 Jan 2017
MATLAB executables have to initialize MCR each time they start, which should be a time very close to what is required to start up MATLAB itself.
When you use a script on an already-running MATLAB, all of the initialization has already been done.
The MATLAB Production Server product is designed to reduce the effect of this.

More Answers (0)

Categories

Find more on Application Deployment 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!