How to run compiled MATLAB executable without MATLAB installed?
Show older comments
I use mcc -m main.m to create an exe file. When I run it on another computer that does not have Matlab installed, I get this error
Could not find version 24.1 of the MATLAB Runtime. Attempting to load mclmcrrt24_1.dll. Please install the correct version of the MATLAB Runtime. Contact your vendor if you do not have an installer for the MATLAB Runtime.
I asked GPT, and it suggested I use mcc -m main.m -R -logfile But it doesn't work.
I have developed an image-processing algorithm using MATLAB and created an interface in C#. However, the MATLAB runtime is quite large, so I’d prefer not to require users to install MATLAB or the MATLAB runtime when I release the interface.
I want the executable file to run on computers that do not have MATLAB or the MATLAB runtime installed. Is there any solution for this? How can I achieve that?
Accepted Answer
More Answers (0)
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!