Hi,I want to know how to obtain a Complex Number from Real and Imaginary inputs. And also the other way round, i.e., if I have a Complex Number, then how to obtain it's Real and Imaginary parts. There are blocks "Complex to Real-Imag" and "Real-Imag to Complex" in Standard Blockset. But I could not find any such blocks in Advanced Blockset. Thanks.
The answer to this is version dependent. In 12.1 and before, you can simply use the simulink "Complex to Real-Imag" and "Real-Imag to Complex" blocks. They will simulate and synthesize just fine in the Advanced Blockset. In 13.0, these blocks are in the Advanced Blockset, and should be use as the simulink blocks will cause errors.