Connecting simElectronic blocks -- get red dotted line

  • Thread starter Thread starter Fatima Hasan
  • Start date Start date
  • Tags Tags
    Blocks Line
Click For Summary
SUMMARY

The discussion centers on troubleshooting a MATLAB project involving electronic blocks, specifically addressing the issue of a red dotted line indicating a connection problem between DC voltage sources and resistances. The solution provided emphasizes the importance of using a single library for the project to avoid compatibility issues. Users should either find a converter for different libraries or standardize on one to ensure proper connections and functionality.

PREREQUISITES
  • Familiarity with MATLAB for electronic simulations
  • Understanding of electronic components such as resistors and voltage sources
  • Knowledge of library management in MATLAB
  • Basic principles of circuit design and analysis
NEXT STEPS
  • Research MATLAB library management techniques
  • Learn about electronic block libraries in MATLAB
  • Explore methods for converting between different MATLAB libraries
  • Study circuit simulation best practices in MATLAB
USEFUL FOR

Students and professionals working on electronic simulations in MATLAB, particularly those troubleshooting circuit connections and managing library compatibility.

Fatima Hasan
Messages
315
Reaction score
14

Homework Statement


2.png
[/B]
Use MATLAB to find the current flowing through 2Ω resistance

Homework Equations


-

The Attempt at a Solution


Here's my work :
1.png

The DC voltage sources won't connect to the resistances , I get a red dotted line.
Where am I doing wrong ?
Your help is appreciated .
 

Attachments

  • 2.png
    2.png
    9 KB · Views: 735
  • 1.png
    1.png
    8.2 KB · Views: 795
Physics news on Phys.org
It is quite late, but I will help somehow. You had chosen two different libraries. So if you want to use both, you should find a 'converter', otherwise just keep your project in one library, as I did. It

1564127735326.png
 
  • Like
Likes   Reactions: berkeman

Similar threads

  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 26 ·
Replies
26
Views
3K
  • · Replies 45 ·
2
Replies
45
Views
9K
  • · Replies 10 ·
Replies
10
Views
4K
Replies
15
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 8 ·
Replies
8
Views
7K