Function 'raise' not supported for code generation

6 ビュー (過去 30 日間)
Dario Massarin
Dario Massarin 2021 年 2 月 4 日
回答済み: Nitin Kapgate 2021 年 2 月 12 日
Hello everybody.
I'm using Simulink with Raspberry PI and I get this error whenever I try to send a signal from a StateFlow chart. I'm doing this to trigger the execution of a specific model partition. It's working correctly when I simulate it but it gives me this error when I try to deploy to my target Raspberry pi.
Charts containing function 'raise' are not supported for code generation. Transition in Chart 'Test/Event Sender': {send(ArduinoUpdateOutput);} ​
Component:Stateflow | Category:Coder error
Any Idea on how to solve this problem? Thanks in advance.

回答 (1 件)

Nitin Kapgate
Nitin Kapgate 2021 年 2 月 12 日
Although Simulink Stateflow is supported on Raspberry Pi and Arduino support package, currently only some functions/blocks in Simulink are supported for code generation.

カテゴリ

Help Center および File ExchangeRaspberry Pi Hardware についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by