How can i run a matlab code on other PC ? The installed Matlab Runtime is not compatible with the application

18 Ansichten (letzte 30 Tage)
I have a matlab code which needs to be executed on other PC. The PC and my exe file are having the same Run time version 2017b 9.3 . The problem is that when the code contains some specific functions, the exe file can not be implemented in the PC which gives the error message ( The installed Matlab Runtime is not compatible with the application). The PC can run some matlab exe files which contain commands like reshape, imread, imagesc,rgb2lab,....etc. But on the other hand, it can not read other functions like bwboundaries, imfill, strel, imclose,.... So, is there any solution where i can make the PC reads/computes all of the functions inside a matlab code ?
I will really appreciate your help, if someone has an answer for.
  6 Kommentare
hesham goda
hesham goda am 27 Feb. 2019
Bearbeitet: hesham goda am 27 Feb. 2019
I have also solved the problem with another solution , as i selected Runtime included in package instead of selecting Runtime downloaded from Web where the MyAppInstaller_mcr file would be generated. That file i can copy to the machinery PC and install it there. Afterwards the exe file can be implemented correctly on the PC and all the toolboxes i used in the Matlab code, the PC can read/implement without any limitations.
Li
Li am 2 Apr. 2024 um 12:14
Thank you very much, I exported two EXes using Gui, one of which was opened directly on my own computer using 'for_redistribution_files_only', the other one showed an error, the version of runtime is incompatible, the Runtime is not compatible. It is probably also the reason why some functions exist when I program this exe, after installing 'MyAppInstaller_mcr'

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Niti K
Niti K am 26 Feb. 2019
Try typing deploytool in your command window. This will open an application package utility.
you can create an exe and package your script with all dependencies and libraries needed for running it on another PC,

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by