How to run simulation and harware simultaneously

조회 수: 2 (최근 30일)
Varunjith Vijayan
Varunjith Vijayan 2018년 6월 28일
댓글: Niravkumar Ambaliya 2019년 11월 11일
I am having a model which is having statecharts inside it. I want to run hardware with the generated code and I want to visualize the working in the simulink model simultaneously. In short I want to run the hardware and I want to know the corresponding state in simulink during the working of hardware. Is there any possibility for doing this?

답변 (2개)

Mark McBroom
Mark McBroom 2018년 6월 28일
This can be done with external mode. It is a standard feature of Simulink Real-Time:
If you are using custom hardware, you would need to develop a custom target that supports external mode as described here .

Varunjith Vijayan
Varunjith Vijayan 2018년 7월 12일
편집: Varunjith Vijayan 2018년 7월 12일
Hello Mark, Is that mean I have to use only the supported hardware like raspberry pi? I would like to know about the setting up the custom target also. I am using 2 custom boards NVDIA Parker series and RH850 Family boards. Is there any workaround to implement this feature?
  댓글 수: 1
Niravkumar Ambaliya
Niravkumar Ambaliya 2019년 11월 11일
Did you manage to get your problem fixed? I am also trying to read/write RH850 inputs/outputs while the simulation is running. Did you create custom target?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by