- Application Compiler: This is an App for creating standalone application with GUI interface. By clicking "Pakacge", you can find a standalone application in for_redistribution_files_only folder and an installer in for_redistribution folder. You can select whether MATLAB Runtime to be included in an installer or not (in this, users will be prompted to install MATLAB Runtime from Web during installation process).
- compiler.build.standaloneApplication: This is a command line interface. This will create only a standalone app. An installer will not be included.
- compiler.package.installer: This is a command line interface. This will creat only an installer. You need to create a standalone app before using this command.
- mcc: This is a command line interface. This is a basic command for packaging MATLAB scripts/apps to standalone and libraries for other langulages etc. This will create only a standalone app. From R2020a, compiler.build.standaloneApplication is easier options for creating a standalone app than mcc.
Create Standalone Application (MATLAB Runtime)
38 次查看(过去 30 天)
显示 更早的评论
Trying to make sure I understand the involvement of Matlab Runtime when creating a standalone application in Windows. The following page shows four options for creating a standalone app:
My understanding is that two of these options (Application Compiler and compiler.package.installer) install the Matlab Runtime on the user's PC. Am I correct to assume that, if the end user does not have Matlab installed, I will have to produce an installer using one of these two options? I wish the documentation would come right out and say this.
Thanks
0 个评论
采纳的回答
Kojiro Saito
2021-4-5
If end users have already installed the same version of MATLAB Runtime as your standalone application, just giving a standalone app to them will work. But if not, you need to create an installer for installing your standalone application and MATLAB Runtime. The easiest option is to use Application Compiler app and give the installer exe file (for example, MyAppInstaller_web.exe under for_redistribution folder) to them.
Here is additional explanation of 4 options.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 C Shared Library Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!