Red dotted line problem in simulink?
Show older comments
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
Answers (2)
Tejas Rivonkar
on 23 Jan 2020
0 votes
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 Comment
Oliver
on 23 Feb 2021
This answer isn't helpful unless someone understands what this thing that you call a "domain" is.
Abdul wahid khan
on 23 Jan 2020
0 votes
5 Comments
Walter Roberson
on 23 Jan 2020
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
on 24 Jan 2020
Walter Roberson
on 24 Jan 2020
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
on 24 Jan 2020
Edited: Abdul wahid khan
on 24 Jan 2020
Damang Phawa
on 11 Jan 2021
connect blue blocks with blue blocks not with black
Categories
Find more on Simulation and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!