variable type output to fixed type in DBPSK modulator

1 view (last 30 days)
HI
I am trying to simulate and generate a code for DBPSK modem as given in the attached simulink file.
it runs perfect for BPSK modem but when I try to generate c code it show error :
My requirement is DBPSK modem.DBPSK modem neither runs for simulation and nor even for c code generation.
Examine the configurations of 'DBPSK_Tx_Rx_Riz_nochannelslx/RX_micro/BPSK Demodulator Baseband/M-DPSK Demodulator Baseband' for one of the following scenarios: 1) the block does not support variable-size signals; 2) the block supports variable-size signals but needs to be configured for them."
Error it gives"Simulink cannot propagate the variable-size mode from the output port 1 of 'DBPSK_Tx_Rx_Riz_nochannelslx/RX_micro/DBPSK Demodulator Baseband/In1' to the input port 1 of 'DBPSK_Tx_Rx_Riz_nochannelslx/RX_micro/DBPSK Demodulator Baseband/M-DPSK Demodulator Baseband'. This input port expects a fixed-size mode. The variable-size mode originates from 'DBPSK_Tx_Rx_Riz_nochannelslx/RX_micro/Symbol Synchronizer'. Examine the configurations of 'DBPSK_Tx_Rx_Riz_nochannelslx/RX_micro/DBPSK Demodulator Baseband/M-DPSK Demodulator Baseband' for one of the following scenarios: 1) the block does not support variable-size signals; 2) the block supports variable-size signals but needs to be configured for them."
Component:Simulink | Category:Block error
Kindly someone help me how can I get rid of the errors in either of the file.
NOte:
Main issue is to convert variable type output to fixed type data.

Answers (0)

Categories

Find more on Automotive in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!