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

조회 수: 5 (최근 30일)
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
hesham goda
hesham goda 2019년 2월 27일
편집: hesham goda 2019년 2월 27일
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 2024년 4월 2일
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'

댓글을 달려면 로그인하십시오.

답변 (1개)

Niti K
Niti K 2019년 2월 26일
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,

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by