How to modify the input property of called seed of the system object nrTDLChannel?
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Gokul Nath S J
2023-5-26
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!