DPI-C Generation for MATLAB Code

Generate SystemVerilog DPI-C component from MATLAB® code

To generate a DPI-C component from a MATLAB function, see DPI-C Component Generation with MATLAB. You must have a MATLAB Coder™ license to use this feature.


dpigenGenerate SystemVerilog DPI component from MATLAB function


Generate DPI Component Using MATLAB

Code the MATLAB function you want to export to a SystemVerilog environment.

DPI-C Component Generation with MATLAB

You can export a MATLAB function as a component with a direct programming interface (DPI) for use in a SystemVerilog simulation.

Was this topic helpful?