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?

 Accepted Answer

Angelo Yeo
Angelo Yeo on 15 May 2025

0 votes

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 Comment

송현
송현 on 28 May 2025
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!!

Sign in to comment.

More Answers (0)

Products

Tags

Asked:

on 14 May 2025

Commented:

on 28 May 2025

Community Treasure Hunt

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

Start Hunting!