Filter löschen
Filter löschen

Is there a way to display(or know), whether the signal flowing through a line in a simulink model is complex or real ?

1 Ansicht (letzte 30 Tage)
I encountered this error: " Complex signal mismatch. Output port 1 of 'thesisTrial1b/Three-Phase OLTC Regulating Transformer (Phasor Type)/Current Sources/Gain4' is a signal of numeric type complex. However, it is driving a signal of numeric type real "
here's a link to the model: https://drive.google.com/file/d/0B0UXuTae4eXgTUEzTTFHSGFiYWs/view?usp=sharing
Thanks a lot to everyone who helps.

Akzeptierte Antwort

Rick Rosson
Rick Rosson am 5 Okt. 2014
Bearbeitet: Rick Rosson am 5 Okt. 2014
  3 Kommentare
ianlester
ianlester am 7 Okt. 2014
I have a follow up question. After I mark check the Port Data Types, I discovered that the signal entering into Gain4 is complex (because there's a " (c) "). Moreover, Output data type is set to: " Inherit: Same as input ". So my question is why the error says it's driving a signal of numeric type real if in fact the input signal is complex?
Thnak you again for your answer Mr. Rosson.
ianlester
ianlester am 7 Okt. 2014
Here's the Print Screen of the error, it may help to clarify my question: https://drive.google.com/file/d/0B0UXuTae4eXgQ0ZnODBFcXZhajQ/view?usp=sharing

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by