Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
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.

Risposta accettata

Rick Rosson
Rick Rosson il 5 Ott 2014
Modificato: Rick Rosson il 5 Ott 2014
  3 Commenti
ianlester
ianlester il 7 Ott 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 il 7 Ott 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

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by