RF communication system on Simulink error

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 comentario

Sriram Tadavarty
Sriram Tadavarty el 9 de Mayo de 2021
Editada: Sriram Tadavarty el 9 de Mayo de 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

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Simulink Coder en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 9 de Mayo de 2021

Editada:

el 9 de Mayo de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by