using Matlab compiler for stand alone application
3 次查看(过去 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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/917144/image.png)
0 个评论
回答(1 个)
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:
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!