필터 지우기
필터 지우기

System Composer: how to create input/output port in system architecture model?

조회 수: 7 (최근 30일)
Gadi
Gadi 2022년 11월 7일
댓글: Josh Kahn 2024년 6월 25일 13:28
Hi, I am new to system composer 2022a and trying to build system architecture using system composer. I have one input output physical interface(e.g CAN). How can i create input/output port for CAN? i tried creating two ports 1 input and 1 output using the same name but system composer doesn't accept same name for two ports. So is there a possibility to create one input/output port in system composer?

답변 (1개)

Josh Kahn
Josh Kahn 2022년 11월 8일
Hi Gadi,
The recommended method in System Composer would be to create in/out pairs of ports by name so you would have, for example: CAN_Ch1_In and CAN_Ch1_Out since bidirectional ports are not supported explicitely. You can then also apply the same interface to the ports for parity.
Josh
  댓글 수: 1
Josh Kahn
Josh Kahn 2024년 6월 25일 13:28
Note, if you are modeling message data across the bus, you should use the input/output pairs. If you are modeling the actual hardware behavior of the CAN bus, you can use physical ports instead, which are not directional.
Here is more information on physical ports:

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

카테고리

Help CenterFile Exchange에서 System Composer에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by