Simulink switch between real and complex.

4 ビュー (過去 30 日間)
Randy
Randy 2016 年 12 月 16 日
I have two signals, one is real scalar and the other 2x2 complex. I need to switch between them. All the Simulink switches generate a "complex signal mismatch" error, despite my unchecking the "Require all data ports to have the same data type" in the signal attributes tab. I really need the output to be real or complex, depending on the switch setting. Is there any workaround? (I'm using R2015a)

回答 (0 件)

カテゴリ

Help Center および File ExchangeC2000 Microcontroller Blockset についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by