How to modify the input property of called seed of the system object nrTDLChannel?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Sanju Das
am 22 Nov. 2022
Beantwortet: Gokul Nath S J
am 26 Mai 2023
Hello,
I am using the system object nrTDLChannel in the simulation. After calling the object, for one particular consition I want to change the seed of the object nrTDLChannel. Since most of the input properties are nontunable that's why I am wondering what is the currect way of chaning the seed.
I am doing it in the following way.
channel = nrTDLChannel;
For loop
if condition
reset(channel);
release(channel);
channel.Seed = randi(2^32+1)-1;
end
end
It would be very helpful if you can tell me is this the right way of chaning the properties of nrTDLChannel or not.
Thanks
0 Kommentare
Akzeptierte Antwort
Gokul Nath S J
am 26 Mai 2023
Hi Sanju,
It seems that you would like to change the channel properties. Please note that you can use the regular dot notation and change the channel properties as you have mentioned in your code. However, I am not sure why you have used the for loop for changing the channel condition. You can directly change the channel condition by called the specific quantity and rewriting it with the new value.
For more information on this issue, kindly go through the following link.
with regards,
Gokul Nath S J
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Data Workflows finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!