# Error in 5g link level simulator

**URL:** <https://vccsforum.nt.tuwien.ac.at/t/error-in-5g-link-level-simulator/100>\
**Category:** Vienna 5G Link Level Simulator\
**Created:** [May 24, 2022, 7:31am UTC](https://vccsforum.nt.tuwien.ac.at/t/error-in-5g-link-level-simulator/100 "2022-05-24T07:31:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dkray](https://vccsforum.nt.tuwien.ac.at/letter_avatar_proxy/v4/letter/d/c2a13f/32.png) [@dkray](https://vccsforum.nt.tuwien.ac.at/u/dkray)\
**Post date:** [May 24, 2022, 7:31am UTC](https://vccsforum.nt.tuwien.ac.at/t/error-in-5g-link-level-simulator/100/1 "2022-05-24T07:31:16Z")

</div>

Hi  
when I run the main.m file for the first time in MATLAB2018a after downloading the 5GLLSimulator, I got the following error massage:

‘Error using builtin  
Unknown RNG type: threefry4x64\_20.  
Error in RandStream.create (line 365)  
s.StreamID = builtin(‘\_RandStream\_create\_mex’,s.Type,s.NumStreams,s.StreamIndex,s.Seed,s.Params);  
Error in main (line 45)  
S =  
RandStream.create(‘threefry4x64\_20′,’Seed’,’shuffle’,’NumStreams’,length(simParams.simulation.sweepValue),’CellOutput’,true);’

Did I use an old version of MATLAB2018a or what is the reason, please

---

<div class="post-metadata">

**Author:** ![Mariam](https://vccsforum.nt.tuwien.ac.at/letter_avatar_proxy/v4/letter/m/b9e5f3/32.png) [@Mariam](https://vccsforum.nt.tuwien.ac.at/u/Mariam)\
**Post date:** [May 25, 2022, 10:51am UTC](https://vccsforum.nt.tuwien.ac.at/t/error-in-5g-link-level-simulator/100/3 "2022-05-25T10:51:15Z")

</div>

Hi,

The generator algorithm threefry4x64\_20 is not supported by MATLAB 2018a or older versions. The version you are using supports the following algorithms:

- dsfmt19937
- mcg16807
- mlfg6331\_64
- mrg32k3a
- mt19937ar
- shr3cong
- swb2712

You have to replace the type property of the RandStream object by an algorithm supported by MATLAB 2018a.

Best,  
Mariam

---

<div class="post-metadata">

**Author:** ![dkray](https://vccsforum.nt.tuwien.ac.at/letter_avatar_proxy/v4/letter/d/c2a13f/32.png) [@dkray](https://vccsforum.nt.tuwien.ac.at/u/dkray)\
**Post date:** [May 26, 2022, 7:00am UTC](https://vccsforum.nt.tuwien.ac.at/t/error-in-5g-link-level-simulator/100/4 "2022-05-26T07:00:02Z")

</div>

thanks Mariam, mlfg6331\_64 is working , thanks a lot
