There are two distinct workflows corresponding to the products you mentioned:
MATLAB Compiler
MATLAB Compiler is used to generate standalone executables from MATLAB scripts.
The executable can be created using one of the following methods:
- compiler.build.standaloneApplication: The function function may be used within the MATLAB Command Window.: Documentation: https://www.mathworks.com/help/compiler/create-standalone-app-from-matlab-function.html
- Application Compiler: The Application Compiler app, available within MATLAB, provides an interactive method for generating executables. Documentation: https://www.mathworks.com/help/releases/R2024b/compiler/create-standalone-app-using-application-compiler-app.html
MATLAB Compiler SDK
MATLAB Compiler SDK facilitates the integration of MATLAB functions with external programming languages. The following outlines the process for generating C shared libraries:
- compiler.build.cSharedLibrary: The function function can be used to generate C shared libraries from MATLAB function files. Documentation: https://www.mathworks.com/help/compiler_sdk/cxx/compiler.build.csharedlibrary.html
- C Shared Library Compiler: The C Shared Library Compiler app can be launched via the cSharedLibraryCompiler command or accessed through the Apps tab in MATLAB. Documentation: https://www.mathworks.com/help/compiler_sdk/ml_code/csharedlibrarycompiler-app.html
Hope this helps give clarity on the operation of the products.