IC block does not support complex input. error " complex signal mismatch "

12 Ansichten (letzte 30 Tage)
Naghme
Naghme am 3 Jan. 2023
Beantwortet: Tejas am 25 Nov. 2024
Hello. I'm simulating a tonpilz transducer in simulink. I had stuck in an algebraic loop for days and finally I removed it by using IC block. but the input signal that drives the IC block is complex and I'm getting error " complex signal mismatch ".
and there is no options in the IC block parameters to change the signal type. could anyone help me please?

Antworten (1)

Tejas
Tejas am 25 Nov. 2024
Hello Naghme,
The above mentioned issue arises because complex numbers are not valid inputs for the 'IC' block. For more details on valid inputs for the 'IC' Block, refer to this documentation: https://www.mathworks.com/help/simulink/slref/ic.html .
To address the above issue, try this workaround:

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by