How to use PIL model by using EXTERNAL MODE as CAN instead of serial

조회 수: 1 (최근 30일)
ashwinee jadhao
ashwinee jadhao 2019년 2월 20일
Hello,
I am using PIL in simulink. Created Plant model running in software and controller model running as PIL block in hardware. Here I am using external mode as SERIAL WITH COM6 means plant and controller with serial communication. But, now I want to communicate plant and controller with CAN communication. so which kind of settings to be configured for that. which are the instructions to be used on command prompt to configure PIL ON CAN as like here
PIL ON SERIAL PORT:
setpref('mathwaork_embedded_ide_link_pil_preferences','compORT', COM6)
Thank you.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Processor-in-the-Loop Simulation에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by