5G LDPC Intel® FPGA IP User Guide

ID 683107
Date 3/29/2021
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

5.1.2. Running the 5G LDPC Decoder and Encoder MATLAB Model in the Design Example

You must compile .mex binaries for both the 5G LDPC decoder and the encoder.
  1. Change working directory in MATLAB to <desgin example root>/matlab
  2. Run MATLAB command mex -setup to point to the C++ compiler of choice.
  3. Run script make: >> make
    Note: Tested on gcc/7.2.0 and matlab/2017a.
  4. Run an example of encoder output feeds to decoder input: >> LDPC_example