using Matlab compiler for stand alone application

1 次查看(过去 30 天)
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