Run The MATLAB Compiler Runtime (MCR) from Windows Command Line

Hi there ,
I want to ask if there is anyway to run MCR( MATLAB Compiler Runtime ) from windows cmd ,
Thanks

4 commentaires

Since the runtime is a backend for compiled programs, I would guess that this depends on the application in question, not the runtime. What did you try?
i wrote an algorithm on malab then i turned to a jar file to execute it in a java program , but it takes to muchtime to run the runtime when use the jar and that because run take much time to start, so i searching for a solution to start the mcr when i execute the java program not when i called that jar
You could consider rewriting your function to act as a server. That way it could be listening for a file to be updated (or something similar). This would shift the startup time to the beginning of your complete function.
May it was a misunderstanding here so i 'll explain what i did :
- i wrote my algorithme in matlab
- i generated an Jar file
- i called that jar file from my java application
- so when a client send a request to my application :
- i executed the jar
- get the results and send it to the client
-but that jar file use MCR to compile and run
-the MCR took too much time to start so i'm trying to start the MCR when the application(server) start listening and i didn't find a way to do that and it took too much time in searching
Thanks for your time again

Connectez-vous pour commenter.

Réponses (0)

Catégories

Commenté :

le 1 Déc 2020

Community Treasure Hunt

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

Start Hunting!

Translated by