Using Input/Output Nodes into sub-diagrams

조회 수: 7 (최근 30일)
Don
Don 2013년 9월 11일
Hi all,
I'm newish to matlab, used it extensively in school but not simulink. Wanted to ask about the input and output nodes.
I'm building a 3 phase rectifier, just 6 diodes and I'd like to make it a sub component I can just call at several places. (Forgive me for butchering the nomenclature, all of these block based programs call these things different).
Anyway, I have a variable AC source feeding each phase (that will be brought in via the "IN" block) and the DC out and return heading out of the block via the "Out".
I have the circuit built but the in's and out's create a broken red line when trying to connect the incoming signals to the circuit branches. Doesn't have trouble going into blocks like the universal bridge, but I'd rather do this from scratch rather than use that block. Could someone offer up a pointer on what I'm doing wrong?
  댓글 수: 2
Jan
Jan 2013년 9월 12일
You used Matlab intensively in school, but not Matlab? Do you mean Simulink?
Don
Don 2013년 9월 12일
Yep sorry, typo. Was late in the evening when I typed that.
We used matlab extensively but it was all "monkey see, monkey do" kinda stuff. Not the best way to learn...
The problem I'm having is within Simulink. We did use it a little bit, but everything we did was on the same model, no porting of data into and out of other user created model blocks.

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

채택된 답변

Kaustubha Govind
Kaustubha Govind 2013년 9월 12일
It looks like you are using SimPowerSystems blocks, correct? I don't know a lot about modeling in the physical domain using SimPowerSystems, but it looks like you need to use Connection Ports instead of the directional input/output ports used in the Simulink domain. Please look at the box titled Electrical Terminal Ports and Connection Lines on this page for a brief explanation on how Simulink connections are different from SimPowerSystems connections.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simscape Electrical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by