Problem with external mode and model running on target hardware
조회 수: 1 (최근 30일)
이전 댓글 표시
When attempting to connect a model running on the target hardware I encounter "External mode simulation is not supported for models with local messages."
I can't find anywhere in the documentation that describes how to send messages within a state chart without using "local message". Neither can I find this limitation listed under the "External Mode" settings when running on hardware.
Does anyone have any advice?
댓글 수: 0
채택된 답변
Yoga
2023년 9월 10일
I understand that you are unable to connect a model running on your target hardware.
Local messages in Stateflow charts are used for communication between different states or components within a chart and are not designed to be exchanged with the external environment or hardware. If you can eliminate the use of local messages within your Stateflow chart, this would be the easiest solution. Try to use other Stateflow constructs like events, data, or transitions to achieve your desired behavior without local messages.
I hope this helps resolve your issue.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Event Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!