Clear Filters
Clear Filters

using Matlab compiler for stand alone application

1 view (last 30 days)
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

Answers (1)

Vidip on 2 Nov 2023
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:


Find more on MATLAB Compiler in Help Center and File Exchange





Community Treasure Hunt

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

Start Hunting!