Error when connecting output of SR Flipflop to Byte Pack of desktoptargetslib

10 ビュー (過去 30 日間)
Krisha Devulapalli
Krisha Devulapalli 2022 年 4 月 7 日
編集済み: Narvik 2023 年 12 月 29 日
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 件のコメント
Piotr Kolodziej
Piotr Kolodziej 2022 年 9 月 6 日
Have you resolved the issue? I have the same problem.
Piotr Kolodziej
Piotr Kolodziej 2022 年 9 月 7 日
Seems Reshape "solves" the issue.

サインインしてコメントする。

回答 (1 件)

Narvik
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:
  1. Backward propagation not supported
  2. 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!

カテゴリ

Help Center および File ExchangeEvent Functions についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by