Regarding Matlab Compiler SDK toolbox
Mostrar comentarios más antiguos
I understand that from Matlab 2015 onwards the Standard Matlab Compiler doesn't generate .dll files but only .exe files. In order to generate .dll files I am required to use the Matlab Compiler SDK . How do I know which compiler is being used and how do I change over to Matlab Compiler SDK . I couldn't find any setting options .
Respuestas (1)
Swastik Sarkar
el 18 de Jun. de 2025
0 votos
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.
Categorías
Más información sobre MATLAB Compiler SDK en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!