Error when connecting output of SR Flipflop to Byte Pack of desktoptargetslib
조회 수: 9 (최근 30일)
이전 댓글 표시
I am trying to use Byte Pack block in Simulink to pack data for UDP Transmission. However, when the input of Byte Pack is the output Q of an SR Flipflop, I see below compile errors. Not sure how to solve this.
Error reported by S-function 'any2byte' in 'Signal_Interface/Byte Packing10/Byte Pack': backward propagation not supported
Component: Simulink | Category: Model error
Error in port widths or dimensions. 'Input Port 1' of 'Signal_Interface/Byte Packing10/Demux' is a one dimensional vector with 8 elements.
Component: Simulink | Category: Model error
댓글 수: 2
답변 (1개)
Narvik
2023년 12월 28일
편집: Narvik
2023년 12월 29일
Hi,
As per my understanding, while trying to compile a Simulink model, you are receiving the following errors:
- Backward propagation not supported
- Error in port widths or dimensions
These errors occur when the signal attributes (data type, dimension, etc.) are backpropagated from the input port of the Byte Pack block to the source block. Refer to the following MATLAB answer for more information on the issues and resolution steps:
Hope this helps!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 General Applications에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!