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

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.

 Accepted Answer

3 Comments

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.
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

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!