How to modify the input property of called seed of the system object nrTDLChannel?

5 ビュー (過去 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

採用された回答

Gokul Nath S J
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 件)

カテゴリ

Help Center および File ExchangeEnd-to-End Simulation についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by