RF communication system on Simulink error

1 view (last 30 days)
I working on implementing an RF communication system with the block diagram on the attached image with an image of the error which is
Error in 'RF_design/General CRC
Generator': The input data type must be double precision or Boolean.
An error occurred while propagating data type 'uint8' from 'RF_design/Permute Dimensions1', output port 1.
but the compiler return an error i tried every thing to solve it.
My sstem uses an string input then conert it to an integer type by ASCII model after that apply some baseband processing and modulation, then start to transmission using the antenna, and the opposite in the receiver side.
it would be helpful if anyone have an idea or a new system block diagram working effectively
  1 Comment
Sriram Tadavarty
Sriram Tadavarty on 9 May 2021
Edited: Sriram Tadavarty on 9 May 2021
Hi Hisham,
The General CRC generator block only accepts input data which is of type Boolean or double precision. Thus, the error in your model.
You can use a convert block before passing the input to General CRC generator block and typecast to either Boolean or double data type.
Hope this helps. Regards, Sriram

Sign in to comment.

Answers (0)

Categories

Find more on RF Blockset Models for Transceivers in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!