Regarding Matlab Compiler SDK toolbox

5 次查看(过去 30 天)
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 .

回答(1 个)

Swastik Sarkar
Swastik Sarkar 2025-6-18
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:
  1. 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
  2. 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:
  1. 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
  2. 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.

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler SDK 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by