Self contained Matlab Program
Show older comments
I want to deploy an application compiled with the Matlab Compiler. Ideally this application is self contained/portable.
Due to security constraints, I cannot put something to the path, install something on the user system, etc.
Is it possible to pack the Matlab Runtime (or the necessary dlls) into the folder of the application so that I can just copy it to the system of choice and run it from the corresponding folder?
Accepted Answer
More Answers (1)
Kevin Holly
on 20 Oct 2022
0 votes
When you package your app, you can select "Runtime included in package".

You can also add other files to the package by clicking the plus sign shown in the screenshot below.

3 Comments
Wolf Blecher
on 20 Oct 2022
Kevin Holly
on 20 Oct 2022
Edited: Kevin Holly
on 20 Oct 2022
See page 45 (4-5) in the link below.
You can add files by using -a filepath with mcc (see link below).
Also see page 79 (7-7) in PDF for installing Runtime without Administrator Rights.
Wolf Blecher
on 20 Oct 2022
Edited: Wolf Blecher
on 22 Oct 2022
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!