Deep-Learning-Based-Channel-Estimation-Schemes-for-IEEE-802.11p-Standard
Deep-Learning-Based-Channel-Estimation-Schemes-for-IEEE-802.11p-Standard copied to clipboard
Getting error when running the main.m file
Hello, when I attempted to follow the steps from the instruction, I get the below error at the beginning. I am not familiar with Matlab but I'm interested in the part of deep learning. I am using Matlab R2022a.
Error using comm.RayleighChannel/step
Changing the complexity (from real to complex) on input 1 of System object
comm.RayleighChannel is not allowed without first calling the release() method.
Error in Channel_functions/ApplyChannel (line 63)
y = step(rchan, X(:));
Error in main (line 177)
[ h, y ] = ch_func.ApplyChannel( rchan, IFFT_Data_CP_Preamble_Coded, K_cp); - Show complete stack trace
Displaying stack trace:
Error using Channel_functions>Channel_functions/ApplyChannel (line 63)
• In Channel_functions>Channel_functions/ApplyChannel (line 63)
• In main (line 177)
Would you mind helping me? Thank you so much.
Hello, when I attempted to follow the steps from the instruction, I get the below error at the beginning. I am not familiar with Matlab but I'm interested in the part of deep learning. I am using Matlab R2022a.
Error using comm.RayleighChannel/step Changing the complexity (from real to complex) on input 1 of System object comm.RayleighChannel is not allowed without first calling the release() method. Error in Channel_functions/ApplyChannel (line 63) y = step(rchan, X(:)); Error in main (line 177) [ h, y ] = ch_func.ApplyChannel( rchan, IFFT_Data_CP_Preamble_Coded, K_cp); - Show complete stack trace Displaying stack trace: Error using Channel_functions>Channel_functions/ApplyChannel (line 63) • In Channel_functions>Channel_functions/ApplyChannel (line 63) • In main (line 177)Would you mind helping me? Thank you so much.
Excuse me, I met the same error. Have you solve this question?
I think the Error in the stacktrace is pretty clear, from the Docs,
To use an object function, specify the System object as the first input argument. For example, to release system resources of a System object named obj, use this syntax:
release(obj)
So, you would have to release the channel before using it to modify in Channel_functions/ApplyChannel (line 63)
release(rchan);
y = step(rchan, X(:));