Red dotted line problem in simulink?

HI everyone!
I'm using Matlab 2019a and I tried to link two blocks, but I couldn't and I get a red dotted line. I want to make connections between SPDT and current measurement block.
Does anyone have any idea why it is not possible to do that connection?
Thank you

답변 (2개)

Tejas Rivonkar
Tejas Rivonkar 2020년 1월 23일

0 개 추천

That because you are trying to connect to two blocks which belong to two different domains.
try PS-simulink converter or simulink-PS converter to make the connections.
otherwise try to find SPDT block which belongs to the same domain as other blocks or find the blocks which belong to same domain as the SPDT. Simply said see the colour difference.

댓글 수: 1

Oliver
Oliver 2021년 2월 23일
This answer isn't helpful unless someone understands what this thing that you call a "domain" is.

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

Abdul wahid khan
Abdul wahid khan 2020년 1월 23일

0 개 추천

Hi Tejas
i have tried already PS-simulink converter or simulink-PS converter as well. but did not work as you can see in attached file.

댓글 수: 5

Walter Roberson
Walter Roberson 2020년 1월 23일
https://www.mathworks.com/help/physmod/simscape/ref/currentsensor.html
Is the current sensor for the same domain as Single Pole Double Throw Switch.
Abdul wahid khan
Abdul wahid khan 2020년 1월 24일
Hi Walter
yes, you can check the attached file
Walter Roberson
Walter Roberson 2020년 1월 24일
Your diagram has no powergui block, which is required for using sps blocks.
Your diagram appears to be missing an initialization block that defines X in order to run the mask icon initialization commands that have been defined for the CB* blocks.
Abdul wahid khan
Abdul wahid khan 2020년 1월 24일
편집: Abdul wahid khan 2020년 1월 24일
Let's take it into simple. I would like to connect Solar PV with two resistive loads (as in the attached file). Everything is fine, but how it will be connected back into solar PV. Simulink-PS did not work. If you can do it, kindly attach an updated file. Thank you
Damang Phawa
Damang Phawa 2021년 1월 11일
connect blue blocks with blue blocks not with black

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

카테고리

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

태그

질문:

2020년 1월 22일

댓글:

2021년 2월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by