Reply To: Different output with same input

#15041
John
Participant

Sorry Guilavogui, I found your question during a broad search, so the answer I gave is related to the LTE SL simulator (not 5G).
To answer your question, truly I have not found that feature in the 5G simulator but I can recommend forcing a random variable seed using the rng function.
Try this:
rng(64);

The line needs to be included before the result=…; line. It’s safe to add it right after the opening clear all, clc initializations. It maintains the random number generator’s seed value (64).