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?

 Akzeptierte Antwort

Angelo Yeo
Angelo Yeo am 15 Mai 2025

0 Stimmen

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 Kommentar

송현
송현 am 28 Mai 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!!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte

Tags

Gefragt:

am 14 Mai 2025

Kommentiert:

am 28 Mai 2025

Community Treasure Hunt

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

Start Hunting!

Translated by