Regarding Matlab Compiler SDK toolbox

5 visualizzazioni (ultimi 30 giorni)
Satyaki Chaudhuri
Satyaki Chaudhuri il 7 Set 2016
Risposto: Swastik Sarkar il 18 Giu 2025
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 .

Risposte (1)

Swastik Sarkar
Swastik Sarkar il 18 Giu 2025
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.

Categorie

Scopri di più su MATLAB Compiler SDK in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by