Simulating the behaviour of error-correcting codes (ECCs) in software is a common practice to design, validate and improve ECCs. This type of simulations are often made in MATLAB since it is flexible and efficient to translate mathematical definitions to software programs. The upcoming wireless 5G standard raises a new range of applications for the software ECCs: the Cloud Radio Access Networks (C-RAN) in a Software-defined radio (SDR) context. The idea is to directly use software ECCs in the communications. For instance in the 5G, the software ECCs could be located in the cloud and the antennas connected to this computing resources: improving this way the flexibility of the communication network and eventually increasing the energy efficiency of the system.