- This topic has 9 replies, 6 voices, and was last updated 3 years, 7 months ago by Fam.
-
AuthorPosts
-
26. January 2018 at 8:49 #9269jyoteeshParticipant
Error while running following file in the example folder
Comparison_CodingSchemes_AWGN_BPSK.m
error repoted
Error using Coding.ChannelCodingComponents.TBConvCoding/TBConvCodingDecode (line 127)
Undefined variable “Coding” or class “Coding.ChannelCodingComponents.TBConvDecodeMEX”.Error in Coding.ChannelCodingComponents.TBConvCoding/Decode (line 107)
DecodedBlockBits = obj.TBConvCodingDecode(RateDematchedLLRs, Block.InitialState);Error in Coding.ChannelCoding/decode (line 251)
DecodedBlockBits = obj.TBConvCoding.Decode(ChannelLLRsBlock,
obj.Blocks(CBi));Error in Comparison_CodingSchemes_AWGN_BPSK (line 92)
parfor Simulation = 1:NrRepetitions
similarly while running main.mUndefined variable “Coding” or class “Coding.ChannelCodingComponents.turboDecodeMEX”.
Error in Coding.ChannelCodingComponents.TurboCoding/SISODecode (line 214)
outputLLRs = Coding.ChannelCodingComponents.turboDecodeMEX(varargin{2},
varargin{3}, varargin{4}, varargin{5}, obj.TurboCodingCurrStates,
obj.TurboCodingNextStates, obj.TurboCodingTransitionOut, 1);Error in Coding.ChannelCodingComponents.TurboCoding/Decode (line 186)
L12 = obj.SISODecode(d0, d1, [L21_inter 0 0 0], 1);Error in Coding.ChannelCoding/decode (line 253)
DecodedBlockBits = obj.TurboCoding.Decode(ChannelLLRsBlock,
obj.Blocks(CBi));Error in Elements.Link/decode (line 188)
obj.DecodedBits(:,iStream) = obj.ChannelCoder.decode(-obj.LLRs(:,iStream));Error in Elements.User/processReceiveSignal (line 117)
Links{obj.TransmitBS(1), obj.ID}.decode;Error in main (line 104)
UE{iUE}.processReceiveSignal(UETotalSignal, LinksParFor, simParams);26. January 2018 at 12:34 #9274Bashar TahirParticipantDear jyoteesh,
Thanks for reporting the issues you faced. Assuming you are running the example as it is, it seems that there is a problem with locating/processing the MEX decoding functions.
What operating system do you have and what is your MATLAB version?Cheers
29. January 2018 at 14:08 #9278Bashar TahirParticipantAlso, can you please check the size of the turboDecodeMEX.mexw64 file, is it larger than 100kB or less?
Best Regards
28. February 2018 at 0:56 #9628Faris MismarParticipantHello,
I am having the same exact errors running main.m. I am using Matlab 2016b. The size of turboDecodeMEX.mexw64 is 132 KB.
Please help.
Thanks,
Faris6. March 2018 at 14:00 #9775Bashar TahirParticipantDear All,
The best solution to this issue is to compile the MEX files at your own computer. This will guarantee that the produced MEX files are compatible with your MATLAB and Windows versions. Please follow this step-by-step guide: Guide for Installing C/C++ MEX Compiler for MATLAB.
Let me know if you encounter further problems.
Best Regards,
Bashar- This reply was modified 4 years, 3 months ago by Bashar Tahir.
11. September 2018 at 10:48 #11135AyotundeParticipantHi,
I have similar issues. But I use a mac operating system and matlab version is 2018a.11. September 2018 at 14:05 #11157Stefan PratschnerKeymasterHi,
the MEX files included with the simulator download are for windows only. Unfortunately we do not offer a step-by-step manual for compiling mex files on Mac but the principle should be the same.
Make sure that you installed a C compiler that is working with Matlab on your system and compile the MEX files from the source code which is included with the simulator download. Once you have a working C compiler running on your Matlab, this should be able by running +Coding/compileMEX.m
best
Stefan28. September 2018 at 14:45 #11286FamParticipantDear Stefan,
I have installed the MEX Compiler by following the step-by-step guide provided above.
Provided the screenshot:
But when I run the main.m, the error still exists.
Error using Coding.ChannelCodingComponents.PolarCoding/PolarDecode (line 134) The decoding algorithm is not supported. Error in Coding.ChannelCodingComponents.PolarCoding/Decode (line 91) DecodedBlockBits = obj.PolarDecode([RateDematchedLLRs (INF + 100*randn(1,Block.Power2Size-Block.CodedBlockSize))], Block); Error in Coding.ChannelCoding/decode (line 257) DecodedBlockBits = obj.PolarCoding.Decode(ChannelLLRsBlock, obj.Blocks(CBi)); Error in Elements.Link/decode (line 188) obj.DecodedBits(:,iStream) = obj.ChannelCoder.decode(-obj.LLRs(:,iStream)); Error in Elements.User/processReceiveSignal (line 114) Links{obj.TransmitBS(1), obj.ID}.decode; Error in main (line 104) UE{iUE}.processReceiveSignal(UETotalSignal, LinksParFor, simParams);
Please help.
Best Regards,
Fam- This reply was modified 3 years, 9 months ago by Fam. Reason: image not uploaded
25. October 2018 at 8:04 #11459Stefan PratschnerKeymasterDear Fam,
unfortunately the screenshot seems to be not working.
Did you make sure to re-compile the MEX files with your C compiler?
best
Stefan Pratschner8. November 2018 at 9:19 #11503FamParticipantDear Stefan,
I have solved the problem. This was due to I input wrong scStr.coding.decoding.
Thanks for the help.Best Regards,
Fam -
AuthorPosts
- The forum ‘Vienna 5G Link Level Simulator’ is closed to new topics and replies.