フィルターのクリア

Build errors with Simulink CAN Transmit block on Raspberry Pi with CAN_MESSAGE as input

4 ビュー (過去 30 日間)
Alexander
Alexander 2022 年 3 月 15 日
コメント済み: Leslie Hall 2024 年 2 月 23 日
Hello,
I have a problem with the CAN-Transmit block from the Raspberry Pi Simulink hardware support package. If I put a CAN Pack block in front of the Transmit block and set the input datatype to CAN_MSG for the Transmit block, I get the following error message during the build process:
The data type of input port 1 is 'CAN_MESSAGE'. MATLAB System block 'CAN Transmit' only supports built-in, binary point scaling [Slope=1.0, Bias=0.0], Simulink enumeration, and bus data types.
Tested with Simulink 2021b and 2022a.
Does anyone have the same problem or a solution for me?
  1 件のコメント
Henry Rake
Henry Rake 2022 年 9 月 5 日
Hey Alexander,
i have the same issue. Were you able to fix it?
Kind regards
Henry

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

回答 (1 件)

Vikky Patil
Vikky Patil 2022 年 11 月 10 日
Try enabling "Output as bus" in CAN Pack block and then rebuild the model

カテゴリ

Help Center および File ExchangeRun on Target Hardware についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by