MATLAB Answers

WANTED: A possibility to compile a Matlab program without the MRE but one that would not require an internet connection to install when MRE is available

1 view (last 30 days)
Mikael Agopov
Mikael Agopov on 26 Feb 2021
Commented: Mikael Agopov on 7 Apr 2021
I am working on our company's software, which is written in Matlab. Whenever I finish a new version, it has to be installed on several computers.
This is done with the Application Compiler. In principle it works fine, but it is a bit annoying that I have to either compile a stand-alone version which
is around 1 GB size or an online-version which requires an internet connection.
All our computer have the Matlab Runtime Environment (MRE); what I would want is a possibility to compile a Matlab program without the MRE but one that would not require an internet connection to install when MRE is available. Thus I could just send the compiled program to the server which would then distribute it to all computers with a simple script (which I am capable of writing).
Is this possible somehow?

Answers (1)

Rashed Mohammed
Rashed Mohammed on 5 Mar 2021
Hi Mikael
The web runtime installer generated using the Application Compiler first checks whether MATLAB Runtime is present in the local system or not. If it is not present, then only it requires internet connection to download from MathWorks. You can generate a standalone version of the application with the web runtime installer and deploy it to systems which do not have internet connection if you are confident that those systems have the appropriate runtime required to run the application.
Hope this helps
  1 Comment
Mikael Agopov
Mikael Agopov on 7 Apr 2021
Hi,
I have created many web runtime installers; none of them has started without the internet connection.
Can you explain in more detail how to override this behavior?

Sign in to comment.

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!