How to run compiled MATLAB executable without MATLAB installed?
Afficher commentaires plus anciens
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?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!