DeepMIMO Forum

Error using nrCDLCh...
 
Notifications
Clear all

[Solved] Error using nrCDLChannel.PathDelays in DeepMIMO_Dataset_Generator  

  RSS

Ala
 Ala
(@ala)
New Member
Joined: 2 years ago
Posts: 4
10/03/2022 7:33 am  

Hi all, 

 

I got the follwing error when I run it for the fisrt time: 

 

>> DeepMIMO_Dataset_Generator
DeepMIMO Dataset Generation started
Reading the channel parameters of the ray-tracing scenario O1_drone_200
Basestation 1
Basestation 2
Constructing the DeepMIMO Dataset for BS 1 - Percentage completed: 20.5Error using nrCDLChannel.PathDelays
Expected PathDelays to be a row vector.

Error in nrCDLChannel/set.PathDelays (line 956)
validateattributes(val,{'double'},{'real','row','finite'},[class(obj) '.' propName],propName);

Error in construct_DeepMIMO_CDL_channel (line 14)
channel.PathDelays = double(params_user.DS);

Error in construct_DeepMIMO_channel_5G (line 12)
channel = construct_DeepMIMO_CDL_channel(txSize, txOrientation, rxSize, rxOrientation, params_user, params);

Error in DeepMIMO_generator>generate_data (line 74)
[DeepMIMO_dataset{t}.user{user}.channel]=construct_DeepMIMO_channel_5G(params_inner.bsAntenna{t},
params_inner.bsOrientation{t}, params_inner.ueAntenna, params_inner.ueOrientation(user, :), TX{t}.channel_params(user),
params);

Error in DeepMIMO_generator (line 26)
DeepMIMO_dataset = generate_data(params, params_inner);

Error in DeepMIMO_Dataset_Generator (line 7)
[DeepMIMO_dataset, dataset_params] = DeepMIMO_generator(dataset_params);

>>

Quote
Ala
 Ala
(@ala)
New Member
Joined: 2 years ago
Posts: 4
10/03/2022 1:27 pm  

I tracked the code and seems there are empty values for the users from 113-279. All values are like this [] when you import data from (.mat) files 

 

Could you please help me to get out of this error? 


ReplyQuote
udemirhan
(@udemirhan)
Member Admin
Joined: 2 years ago
Posts: 39
18/03/2022 6:10 am  

Hi @ala,

 

Thanks for tracing it. There was a bug caused by the channels with no available paths. It is fixed now in the current version.

For these channels with no available paths, a channel of all zeroes is returned.

Please re-download and try generating this.

 

Regards,

Umut

This post was modified 2 years ago by udemirhan

ReplyQuote
Ala
 Ala
(@ala)
New Member
Joined: 2 years ago
Posts: 4
18/03/2022 7:46 am  

Thank you, Umut for solving it.

 

It is working well now. However, I believe you missed to remove this line (params.dataset_folder = 'C:\Users\Umt\Desktop\scenarios';) in the Parameter and defulat_parameter files. 

 

Many thanks, 


ReplyQuote
udemirhan
(@udemirhan)
Member Admin
Joined: 2 years ago
Posts: 39
18/03/2022 7:48 am  

Thanks for letting me know, I'll remove that. You can use that if you wish.


ReplyQuote

Leave a reply

Author Name

Author Email

Title *

Maximum allowed file size is 10MB

 
Preview 0 Revisions Saved
Share: