필터 지우기
필터 지우기

using Matlab compiler for stand alone application

조회 수: 2 (최근 30일)
Huda M
Huda M 2022년 3월 7일
답변: Vidip 2023년 11월 2일
Hello;
I want to convert My code to stand alone application so; I used application compiler after doing that I saw the application icone after pressing on it. It does not open just I saw the application picture and then It disapears.
a messege appears
Warning: hadoopCompiler will be removed in a future release. Use mcc instead.
> In hadoopCompiler

답변 (1개)

Vidip
Vidip 2023년 11월 2일
I understand that you want to convert your code to stand alone application and for this you are using Hadoop compiler but the hadoopCompiler function is deprecated and will be removed in a future release of MATLAB. You should use the mcc function instead.
The ‘mcc’ function is the MATLAB Compiler, which allows you to compile MATLAB code into a standalone application. To compile your code into a standalone application using the ‘mcc’ function.
This will create a standalone application called my_code.exe. You can then run the standalone application by double-clicking on the my_code.exe file.
If you are seeing the application icon appear and then disappear when you try to run the standalone application, it is possible that there is an error in your code. You can check for errors by using the ‘mcc -v’ command and make sure that you have all the necessary dependencies installed.
For further information, refer to the documentation links below:

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

태그

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by