5G LDPC Intel® FPGA IP User Guide

ID 683107
Date 4/01/2024
Public
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