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?

 Réponse acceptée

Angelo Yeo
Angelo Yeo le 15 Mai 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 commentaire

송현
송현 le 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!!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Produits

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by