Incorrect use of commlteturbodecoder/step solution
When learning Chapter 4 of “comprehensive and detailed explanation of LTE: MATLAB modeling, simulation and implementation”, run chap4_ex04_performanceBER.m. Matlab reports the following errors:
Wrong use of commLTETurboDecoder/step
Method 'stepImpl' is not defined for class 'commLTETurboDecoder', or the method has been removed from MATLAB's search path.
Error TurboDecoder_crc (line 10)
[y, flag, iters] = step(TurboCrc, u, intrlvrIndices);
Error chap4_ex05_rate (line 28)
[y, ~, iters] = TurboDecoder_crc(-r2, Indices); % Turbo Deocder
Error chap4_ex05_performanceBER (line 13)
ber_third(n)=chap4_ex05_rate(EbNo, maxNumErrs, maxNumBits, CodingRate);
unction commLTETurboDecoder used in “Understanding LTE with Matlab” is missing
Reason: Because the version of matlab is too high, the official matlab has abandoned the commLTETurboDecoder function after the 2016 version, so it will report an error when running this program.
Solution: Install communications system toolbox 6.1 in matlab2015b, and find the function under this path
/Applications/MATLAB_R2015b.app/toolbox/comm/commdemos/commLTETurboDecoder.m
After downloading and installing MATLAB_R2015b software, find the commLTETurboDecoder.m file under the corresponding path, place it under the current folder, and it will run normally.
In addition, this function also has a defect, the following error will be reported in the run: change snr to snr6 in the zVisualize_ex05.m file, as shown in the figure.
Wrong use of snr (line 87)
Insufficient number of input parameters.
Error zVisualize_ex05 (line 3)
semilogy(snr,ber6,'ob')
Error chap4_ex05_performanceBER (line 28)
zVisualize_ex05(snr, ber_third, ber_half);
Solution: Change the snr in the zVisualize_ex05.m file to snr6, as shown in the figure.
Modify the above two places to operate normally and draw the image, as shown in the figure:
Read More:
- [USF-XSim-62] ‘elaborate‘ step failed with errors.[Vivado 12-4473] Detected error while running sim
- Error: an error occurred while performing the step: “building kernel modules”. See/var/log/NV
- Matlab R2019b License Manager Error -103 [How to Solve]
- [Solved] matlab Error: `Using exist to check
- [Solved] matlab error: try to write SCRIPT vl_sift is executed as a function
- [Solved] matlab Error: Error in port widths or dimensions. ‘Output Port 1‘ of ‘sl_arm_ibvs/camera‘
- [Solved] Maven Error: parent.relativePath points at wrong local POM
- [Solved] MATLAB and pycharm open error messages at the same time
- How to Solve “License Manager Error -8” Error After MATLAB2018a is Installed
- [Solved] RT-Thread Transplant Error: Error: A1854E: Unknown opcode ‘VSTMFDEQ’, maybe wrong target CPU?
- Matlab Raspberry Pi Error: External Mode Open Protocol Connect command failed
- [Solved] error adding symbols: File in wrong format collect2: error: ld returned 1 exit status
- Matlab 2018a Error: License Manager Error-8 [Solved]
- [Solved] Matlab Code generate error: failed to generate all binary outputs
- [Solved] matlab Error: CUDA_ERROR_SYSTEM_NOT_READY
- Solution: the solution to the wrong connection of rosdep init or rosdep update
- Overleaf PDF Rendering Error Something went wrong while rendering this PDF [How to Solve]
- [Solved] FreeBSD PKG error: pkg: repository meta /var/db/pkg/FreeBSD.meta has wrong version 2
- [Solved] MATLAB Error: License Manager Error -103
- Solve the VUE startup problem (You may use special comments to disable some warnings)