When I ran MATLAB, it showed an error saying that a direct connection was found between one or more physical signal converters. Is there any solution for this?

 채택된 답변

Angelo Yeo
Angelo Yeo 2025년 5월 15일

0 개 추천

The problem is that the subsystem "i" has Simulink-PS Converter right before the outport, and you are connecting PS-Simulink converter right after this.
The same error can be reproduced with the toy model below.
The solution might be to use Simulink signal directly. See the model below with highlight.

댓글 수: 1

송현
송현 2025년 5월 28일
I don't know how to implement the part highlighted in yellow...
Also, I can't connect the "input current" to "i"...
I modified the inside of "i" like that, but it's still not connecting!!

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Physical Units에 대해 자세히 알아보기

제품

태그

질문:

2025년 5월 14일

댓글:

2025년 5월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by